{"id":17793199,"url":"https://github.com/jcbhmr/setup-wasm-tools","last_synced_at":"2026-02-04T08:04:58.764Z","repository":{"id":218951820,"uuid":"747479311","full_name":"jcbhmr/setup-wasm-tools","owner":"jcbhmr","description":"👩‍💻 wasm-tools installer for GitHub Actions","archived":false,"fork":false,"pushed_at":"2024-05-18T20:51:49.000Z","size":594,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-13T11:58:07.520Z","etag":null,"topics":["actions","github-action","github-actions","installer","wasm-tools","webassembly"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jcbhmr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-24T02:17:29.000Z","updated_at":"2024-05-18T20:51:52.000Z","dependencies_parsed_at":"2024-05-18T21:46:15.425Z","dependency_job_id":null,"html_url":"https://github.com/jcbhmr/setup-wasm-tools","commit_stats":null,"previous_names":["jcbhmr/setup-wasm-tools"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/jcbhmr/setup-wasm-tools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcbhmr%2Fsetup-wasm-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcbhmr%2Fsetup-wasm-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcbhmr%2Fsetup-wasm-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcbhmr%2Fsetup-wasm-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jcbhmr","download_url":"https://codeload.github.com/jcbhmr/setup-wasm-tools/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcbhmr%2Fsetup-wasm-tools/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265431825,"owners_count":23764031,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["actions","github-action","github-actions","installer","wasm-tools","webassembly"],"created_at":"2024-10-27T11:05:13.504Z","updated_at":"2026-02-04T08:04:58.712Z","avatar_url":"https://github.com/jcbhmr.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Setup wasm-tools\n\n👩‍💻 [wasm-tools](https://github.com/bytecodealliance/wasm-tools) installer for GitHub Actions\n\n\u003ctable align=center\u003e\u003ctd\u003e\n\n```yml\n- uses: jcbhmr/setup-wasm-tools@v2\n- run: cargo build --target wasm32-wasi\n- run: wasm-tools print target/wasm32-wasi/debug/*.wasm\n```\n\n\u003c/table\u003e\n\n🟪 Installs wasm-tools globally \\\n🔢 Supports semver ranges \\\n📁 Caches the wasm-tools installation\n\n## Usage\n\n![GitHub Actions](https://img.shields.io/static/v1?style=for-the-badge\u0026message=GitHub+Actions\u0026color=2088FF\u0026logo=GitHub+Actions\u0026logoColor=FFFFFF\u0026label=)\n![GitHub](https://img.shields.io/static/v1?style=for-the-badge\u0026message=GitHub\u0026color=181717\u0026logo=GitHub\u0026logoColor=FFFFFF\u0026label=)\n\n**🚀 Here's what you're after:**\n\n```yml\non: push\njobs:\n  job:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: jcbhmr/setup-wasm-tools@v2\n      - run: cargo build --target wasm32-wasi\n      - run: wasm-tools print target/wasm32-wasi/debug/*.wasm\n```\n\n### Inputs\n\n- **`wasm-tools-version`:** Which version of wasm-tools to install. This can be an exact version specifier such as `1.0.0` or a semver range like `~1.0.0` or `1.x`. Use `latest` to always install the latest release. Defaults to `latest`.\n\n- **`wasm-tools-token`:** The GitHub token to use when fetching the version list from [bytecodealliance/wasm-tools](https://github.com/bytecodealliance/wasm-tools/releases). You shouldn't have to touch this. The default is the `github.token` if you're on github.com or unauthenticated (rate limited) if you're not on github.com.\n\n### Outputs\n\n- **`wasm-tools-version`:** The version of wasm-tools that was installed. This will be something like `1.0.0` or similar.\n\n- **`cache-hit`:** Whether or not wasm-tools was restored from the runner's cache or download anew.\n\n## Development\n\n![Node.js](https://img.shields.io/static/v1?style=for-the-badge\u0026message=Node.js\u0026color=339933\u0026logo=Node.js\u0026logoColor=FFFFFF\u0026label=)\n\n**How do I test my changes?** \\\nOpen a Draft Pull Request and some magic GitHub Actions will run to test the action.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcbhmr%2Fsetup-wasm-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjcbhmr%2Fsetup-wasm-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcbhmr%2Fsetup-wasm-tools/lists"}