GitHub Action to install the wash CLI for wasmCloud development.
This action installs the wash CLI, a tool for developing and managing WebAssembly (Wasm) components with wasmCloud.
Add the following step to your workflow to install wash:
- name: Setup wash CLI
uses: wasmCloud/setup-wash-action@main
with:
wash-version: latest # OptionalWhen wash-version is latest (the default), the action resolves the most recent release of wasmCloud/wasmCloud on each run and uses the resolved tag as the cache key, so a new release is picked up automatically without serving a stale cache.
| Name | Description | Default |
|---|---|---|
| wash-version | The version of wash to install | latest |
name: wasmCloud Build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup wash CLI
uses: wasmCloud/setup-wash-action@main
with:
wash-version: latest
- name: Check wash version
run: wash --version