Skip to content

Commit ea2a421

Browse files
authored
ci: added wasm SDK installation verification in CI (#426)
1 parent a4d0707 commit ea2a421

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ jobs:
327327
uses: ./
328328
with:
329329
check-latest: ${{ needs.ci.outputs.check_latest }}
330-
sdks: static-sdk
330+
sdks: static-linux;wasm
331331
dry-run: true
332332

333333
- name: Verify Swift version
@@ -383,7 +383,7 @@ jobs:
383383
'swift-version': 'latest',
384384
'check-latest': '${{ needs.ci.outputs.check_latest }}',
385385
'visual-studio-components': '${{ matrix.os }}'.includes('arm') ? 'Microsoft.VisualStudio.Component.Windows11SDK.22000' : '',
386-
'sdks': '${{ runner.os }}' != 'Windows' ? 'static-sdk' : ''
386+
'sdks': '${{ runner.os }}' != 'Windows' ? 'static-linux;wasm' : ''
387387
}
388388
}
389389
]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Install additional SDKs as part of toolchain setup, i.e. install static Linux SD
4949
```yml
5050
- uses: SwiftyLab/setup-swift@latest
5151
with:
52-
sdks: static-sdk
52+
sdks: static-linux;wasm
5353
```
5454

5555
After the environment is configured you can run swift and xcode commands using the standard [`run`](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#jobsjob_idstepsrun) step:

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ inputs:
5858
description: >-
5959
Semi-colon separated list of Swift SDKs to install along with the main toolchain.
6060
Available SDKs are based on platforms available for the specified version.
61-
Examples: "static-sdk", "static-sdk;wasm-sdk", "static-sdk:0.0.1;wasm-sdk".
61+
Examples: "static-linux", "static-linux;wasm", "static-linux:0.0.1;wasm".
6262
required: false
6363
default: ''
6464
outputs:

0 commit comments

Comments
 (0)