File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed
Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -11,16 +11,18 @@ jobs:
1111 - uses : actions/setup-node@v4
1212 with :
1313 node-version : 20
14- - uses : swift-actions/setup-swift@v2
15- with :
16- swift-version : ' 6.1'
1714
18- - name : Install Swift WASI SDK
15+ - name : Install Swift via Swiftly
16+ run : |
17+ curl -O https://download.swift.org/swiftly/darwin/swiftly.pkg && \
18+ installer -pkg swiftly.pkg -target CurrentUserHomeDirectory && \
19+ ~/.swiftly/bin/swiftly init --quiet-shell-followup && \
20+ . "${SWIFTLY_HOME_DIR:-$HOME/.swiftly}/env.sh" && \
21+ hash -r
22+
23+ - name : Install Swift WASM SDK
1924 run : |
20- set -euxo pipefail
21- SWIFT_WASI_SDK_URL="https://download.swift.org/swift-6.1-release/wasm/swift-6.1-RELEASE/swift-6.1-RELEASE_wasm.artifactbundle.tar.gz"
22- swift --version
23- swift sdk install "$SWIFT_WASI_SDK_URL"
25+ swift sdk install https://download.swift.org/swift-6.2-release/wasm/swift-6.2-RELEASE/swift-6.2-RELEASE_wasm.artifactbundle.tar.gz --checksum fe4e8648309fce86ea522e9e0d1dc48e82df6ba6e5743dbf0c53db8429fb5224
2426
2527 - name : Install Dependencies
2628 run : npm ci
You can’t perform that action at this time.
0 commit comments