Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/swiftwasm/setup-swiftwasm
An action to download a prebuilt SwiftWasm toolchain and add it to the PATH
https://github.com/swiftwasm/setup-swiftwasm
Last synced: 13 days ago
JSON representation
An action to download a prebuilt SwiftWasm toolchain and add it to the PATH
- Host: GitHub
- URL: https://github.com/swiftwasm/setup-swiftwasm
- Owner: swiftwasm
- License: mit
- Created: 2022-10-07T14:30:23.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-08T12:21:11.000Z (7 months ago)
- Last Synced: 2024-04-14T00:59:38.433Z (7 months ago)
- Language: JavaScript
- Homepage:
- Size: 1.91 MB
- Stars: 9
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# setup-swiftwasm
A GitHub Action that downloads a SwiftWasm toolchain and adds it to the `PATH`.
## Usage
To run the action with the latest SwiftWasm toolchain, add the following to your workflow file:
```yaml
- uses: swiftwasm/setup-swiftwasm@v1
- run: swift --version # `swift` command in SwiftWasm
```A specific toolchain version can be specified with the `swift-version` input:
```yaml
- uses: swiftwasm/setup-swiftwasm@v1
with:
swift-version: "wasm-5.6.0-RELEASE"
```You can also specify nightly toolchains:
```yaml
- uses: swiftwasm/setup-swiftwasm@v1
with:
swift-version: "wasm-DEVELOPMENT-SNAPSHOT-2022-10-04-a"
```You can find the list of available toolchain versions on the [SwiftWasm Releases page](https://github.com/swiftwasm/swift/releases).
## Supported Platforms
The action currently supports macOS and Ubuntu runners.