File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -18,11 +18,15 @@ jobs:
1818 installer -pkg swiftly.pkg -target CurrentUserHomeDirectory && \
1919 ~/.swiftly/bin/swiftly init --quiet-shell-followup && \
2020 . "${SWIFTLY_HOME_DIR:-$HOME/.swiftly}/env.sh" && \
21- hash -r
21+ hash -r && \
22+ ~/.swiftly/bin/swiftly install 6.2 && \
23+ ~/.swiftly/bin/swiftly use 6.2 && \
24+ swift --version
2225
2326 - name : Install Swift WASM SDK
2427 run : |
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
28+ 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 && \
29+ swift sdk list
2630
2731 - name : Install Dependencies
2832 run : npm ci
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ set -euo pipefail
55# Prereqs (one-time): install Swift 6.x toolchain (see README.md for instructions)
66
77SWIFT_SDK_ID=${SWIFT_SDK_ID:- " $( swift sdk list | grep ' swift-.*_wasm$' | head -n 1 | cut -d' ' -f1) " }
8+ echo " Using Swift SDK: $SWIFT_SDK_ID "
89
910pushd swift > /dev/null
1011swift build -c release \
You can’t perform that action at this time.
0 commit comments