|
60 | 60 | - name: "Test Swift Package on Android"
|
61 | 61 | uses: skiptools/swift-android-action@v2
|
62 | 62 | with:
|
63 |
| - swift-version: 6.0.3 |
| 63 | + swift-version: 6.1 |
64 | 64 | ```
|
65 | 65 |
|
66 | 66 | ### Swift Versions
|
@@ -89,7 +89,7 @@ or the most recent snapshot/nightly build can be specified with `nightly-6.1`.
|
89 | 89 |
|
90 | 90 | | Parameter | Description | Default |
|
91 | 91 | |-----|-----|-----|
|
92 |
| -| swift-version | The version of the Swift toolchain to use | 6.0.3 | |
| 92 | +| swift-version | The version of the Swift toolchain to use | 6.1 | |
93 | 93 | | package-path | The folder where the swift package is checked out | . |
|
94 | 94 | | swift-configuration | Whether to build with debug or release configuration | debug |
|
95 | 95 | | swift-build-flags | Additional flags to pass to the swift build command | |
|
@@ -192,13 +192,13 @@ The actual `swift-build` command will vary between operating systems
|
192 | 192 | and architectures. For example, on Ubuntu 24.04, it might be:
|
193 | 193 |
|
194 | 194 | ```
|
195 |
| -/home/runner/swift/toolchains/swift-6.0.3-RELEASE/usr/bin/swift build --swift-sdk x86_64-unknown-linux-android24 |
| 195 | +/home/runner/swift/toolchains/swift-6.1-RELEASE/usr/bin/swift build --swift-sdk x86_64-unknown-linux-android24 |
196 | 196 | ```
|
197 | 197 |
|
198 | 198 | while on macOS-15 it will be:
|
199 | 199 |
|
200 | 200 | ```
|
201 |
| -/Users/runner/Library/Developer/Toolchains/swift-6.0.3-RELEASE.xctoolchain/usr/bin/swift build --swift-sdk aarch64-unknown-linux-android24 |
| 201 | +/Users/runner/Library/Developer/Toolchains/swift-6.1-RELEASE.xctoolchain/usr/bin/swift build --swift-sdk aarch64-unknown-linux-android24 |
202 | 202 | ```
|
203 | 203 |
|
204 | 204 |
|
@@ -232,16 +232,16 @@ jobs:
|
232 | 232 | - name: "Test Swift Package on macOS"
|
233 | 233 | run: swift test
|
234 | 234 | - name: "Test Swift Package on iOS"
|
235 |
| - run: xcodebuild test -sdk "iphonesimulator" -destination "platform=iOS Simulator,name=iPhone 15" -scheme "$(xcodebuild -list -json | jq -r '.workspace.schemes[-1]')" |
| 235 | + run: xcodebuild test -sdk "iphonesimulator" -destination "platform=iOS Simulator,name=$(xcrun simctl list devices --json | jq -r '.devices | to_entries[] | .value[] | select(.availability == "(available)" or .isAvailable == true) | .name' | grep -E '^iPhone [0-9]+$' | sort -V | tail -n 1)" -scheme "$(xcodebuild -list -json | jq -r '.workspace.schemes[-1]')" |
236 | 236 | windows:
|
237 | 237 | runs-on: windows-latest
|
238 | 238 | steps:
|
239 | 239 | - uses: actions/checkout@v4
|
240 | 240 | - name: "Setup Swift on Windows"
|
241 | 241 | uses: compnerd/gha-setup-swift@main
|
242 | 242 | with:
|
243 |
| - branch: swift-6.0.3-release |
244 |
| - tag: 6.0.3-RELEASE |
| 243 | + branch: swift-6.1-release |
| 244 | + tag: 6.1-RELEASE |
245 | 245 | - name: "Test Swift Package on Windows"
|
246 | 246 | run: swift test
|
247 | 247 |
|
@@ -276,6 +276,7 @@ These are some of the open-source projects using (or used) the Swift Android Act
|
276 | 276 | - [Skip](https://github.com/skiptools/actions/tree/main/.github/workflows)
|
277 | 277 | - [supabase-swift](https://github.com/supabase/supabase-swift/tree/main/.github/workflows)
|
278 | 278 | - [swift-android-native](https://github.com/skiptools/swift-android-native/tree/main/.github/workflows)
|
| 279 | +- [SwiftCBOR](https://github.com/valpackett/SwiftCBOR/tree/master/.github/workflows) |
279 | 280 | - [swift-fakes](https://github.com/Quick/swift-fakes/tree/main/.github/workflows)
|
280 | 281 | - [swift-issue-reporting](https://github.com/pointfreeco/swift-issue-reporting/tree/main/.github/workflows)
|
281 | 282 | - [swift-png](https://github.com/tayloraswift/swift-png/tree/master/.github/workflows)
|
|
0 commit comments