swiftwasm/Setup SwiftWasm
Install a Swift SDK for WebAssembly
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| tag | The tag name of swiftlang/swift repository to download the Swift SDK compatible with. For example, `swift-6.0.3-RELEASE` or `swift-DEVELOPMENT-SNAPSHOT-2025-02-26-a`. By default, it uses the version of `swift` found in the PATH. | no | — |
| target | The target to install the Swift SDK for. For example, `wasm32-unknown-wasi` or `wasm32-unknown-wasip1-threads`. | no | wasm32-unknown-wasi |
Outputs
| name | description |
|---|---|
| swift-sdk-id | The ID of the installed Swift SDK. You can pass this to `--swift-sdk` option of `swift build` command. |