Skip to content

Commit af75b0a

Browse files
committed
use swift 6.2.3
1 parent b472ac8 commit af75b0a

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

.github/workflows/build.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
with:
1212
node-version: 22
1313

14-
- name: Install Swift 6.2 + WASM SDK via Swiftly (Linux)
14+
- name: Install Swift 6.2.3 + WASM SDK via Swiftly (Linux)
1515
run: |
1616
# Install Swiftly
1717
curl -O https://download.swift.org/swiftly/linux/swiftly-$(uname -m).tar.gz
@@ -20,23 +20,25 @@ jobs:
2020
SWIFTLY_HOME="${SWIFTLY_HOME_DIR:-$HOME/.local/share/swiftly}"
2121
. "$SWIFTLY_HOME/env.sh"
2222
23-
# Install and pin Swift 6.2 to match the WASM SDK
24-
swiftly install 6.2
25-
swiftly use 6.2
23+
# Install and pin Swift 6.2.3 to match the WASM SDK
24+
swiftly install 6.2.3
25+
swiftly use 6.2.3
2626
2727
# Add to GITHUB_PATH for subsequent steps
2828
echo "$SWIFTLY_HOME/bin" >> $GITHUB_PATH
29-
echo "$SWIFTLY_HOME/toolchains/6.2/usr/bin" >> $GITHUB_PATH
29+
echo "$SWIFTLY_HOME/toolchains/6.2.3/usr/bin" >> $GITHUB_PATH
3030
swift --version
3131
3232
# Install WASM SDK
33-
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
33+
swift sdk install https://download.swift.org/swift-6.2.3-release/wasm/swift-6.2.3-RELEASE/swift-6.2.3-RELEASE_wasm.artifactbundle.tar.gz
3434
swift sdk list
3535
3636
- name: Install Dependencies
3737
run: npm ci
3838

3939
- name: Build
40+
env:
41+
SWIFT_SDK_ID: swift-6.2.3-RELEASE_wasm
4042
run: npm run build
4143

4244
- name: Upload build artifact

0 commit comments

Comments
 (0)