{"id":29419903,"url":"https://github.com/bytecodealliance/actions","last_synced_at":"2025-07-12T01:13:35.733Z","repository":{"id":196902247,"uuid":"697422232","full_name":"bytecodealliance/actions","owner":"bytecodealliance","description":"GitHub actions to setup wasm-tools and wasmtime","archived":false,"fork":false,"pushed_at":"2025-02-08T18:13:40.000Z","size":596,"stargazers_count":5,"open_issues_count":3,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-08T18:32:45.849Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/bytecodealliance.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}},"created_at":"2023-09-27T17:40:24.000Z","updated_at":"2025-02-08T17:58:16.000Z","dependencies_parsed_at":"2024-01-31T16:35:23.704Z","dependency_job_id":"1d37ee5b-3e5f-4b6e-8aee-625971aba6c5","html_url":"https://github.com/bytecodealliance/actions","commit_stats":null,"previous_names":["rajatjindal/github-action","bytecodealliance/github-action"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/bytecodealliance/actions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bytecodealliance%2Factions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bytecodealliance%2Factions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bytecodealliance%2Factions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bytecodealliance%2Factions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bytecodealliance","download_url":"https://codeload.github.com/bytecodealliance/actions/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bytecodealliance%2Factions/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264922909,"owners_count":23683705,"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":[],"created_at":"2025-07-12T01:13:34.825Z","updated_at":"2025-07-12T01:13:35.717Z","avatar_url":"https://github.com/bytecodealliance.png","language":"TypeScript","readme":"# bytecodelliance/actions\n\nWith the `bytecodealliance/actions` collection, you can easily set up [`wasmtime`](https://github.com/bytecodealliance/wasmtime), [`wasm-tools`](https://github.com/bytecodealliance/wasm-tools), and [`wit-bindgen`](https://github.com/bytecodealliance/wit-bindgen) in your [GitHub Actions](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/configuring-a-workflow) workflow.\n\nThis collection of Actions enables the following use cases:\n\n- [x] set up `wasmtime` using [`bytecodealliance/actions/wasmtime/setup@v1`](#install-wasmtime)\n- [x] set up `wasm-tools` using [`bytecodealliance/actions/wasm-tools/setup@v1`](#install-wasm-tools)\n- [x] set up `wit-bindgen` using [`bytecodealliance/actions/wit-bindgen/setup@v1`](#install-wit-bindgen)\n\nLet’s take a look at each one to learn about the required inputs and walk through an example.\n\n## Install `wasmtime`\n\n### Inputs\n\n| Name         | Required | Default | Description                                                                                                                                 |\n| ------------ | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------- |\n| `version`      | False    | `latest`  | The version of `wasmtime` to install.                                                                                                           |\n| `github_token` | False    | `${{ github.token }}`       | The GitHub token for querying/downloading `wasmtime` releases. If provided, it avoids GitHub API rate limiting during GitHub action executions. |\n\n### Examples\n\n#### Setting up the latest version of `wasmtime`\n\n```yaml\nname: wasmtime\n\non:\n  push:\n    branches: [main]\n\n\njobs:\n  setup:\n    runs-on: ubuntu-latest\n    name: Setup wasmtime\n    steps:\n      - name: Setup `wasmtime`\n        uses: bytecodealliance/actions/wasmtime/setup@v1\n\n      - name: Run `wasmtime version`\n        run: \"wasmtime --version\"\n```\n\n#### Setting up a specific version of `wasmtime`\n\n```yaml\nname: wasmtime\n\non:\n  push:\n    branches: [main]\n\njobs:\n  setup:\n    runs-on: ubuntu-latest\n    name: Setup wasmtime\n    steps:\n      - name: Setup `wasmtime`\n        uses: bytecodealliance/actions/wasmtime/setup@v1\n        with:\n          version: \"18.0.1\"\n\n      - name: Run `wasmtime version`\n        run: \"wasmtime --version\"\n```\n\n## Install `wasm-tools`\n\n### Inputs\n\n| Name         | Required | Default | Description                                                                                                                                 |\n| ------------ | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------- |\n| `version`      | False    | `latest`  | The version of `wasm-tools` to install.                                                                                                           |\n| `github_token` | False    | `${{ github.token }}`       | The GitHub token for querying/downloading `wasm-tools` releases. If provided, it avoids GitHub API rate limiting during GitHub action executions |\n\n### Examples\n\n#### Setting up the latest version of `wasm-tools`\n\n```yaml\nname: wasm-tools\n\non:\n  push:\n    branches: [main]\n\njobs:\n  setup:\n    runs-on: ubuntu-latest\n    name: Setup wasm-tools\n    steps:\n      - name: Setup `wasm-tools`\n        uses: bytecodealliance/actions/wasm-tools/setup@v1\n\n      - name: Run `wasm-tools version`\n        run: \"wasm-tools --version\"\n```\n\n#### Setting up a specific version of `wasm-tools`\n\n```yaml\nname: wasm-tools\n\non:\n  push:\n    branches: [main]\n\njobs:\n  setup:\n    runs-on: ubuntu-latest\n    name: Setup wasm-tools\n    steps:\n      - name: Setup `wasm-tools`\n        uses: bytecodealliance/actions/wasm-tools/setup@v1\n        with:\n          version: \"1.0.43\"\n\n      - name: Run `wasm-tools version`\n        run: \"wasm-tools --version\"\n```\n\n## Install `wit-bindgen`\n\n### Inputs\n\n| Name         | Required | Default | Description                                                                                                                                 |\n| ------------ | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------- |\n| `version`      | False    | `latest`  | The version of `wit-bindgen` to install.                                                                                                           |\n| `github_token` | False    | `${{ github.token }}`       | The GitHub token for querying/downloading `wit-bindgen` releases. If provided, it avoids GitHub API rate limiting during GitHub action executions |\n\n### Examples\n\n#### Setting up the latest version of `wit-bindgen`\n\n```yaml\nname: wit-bindgen\n\non:\n  push:\n    branches: [main]\n\njobs:\n  setup:\n    runs-on: ubuntu-latest\n    name: Setup wit-bindgen\n    steps:\n      - name: Setup `wit-bindgen`\n        uses: bytecodealliance/actions/wit-bindgen/setup@v1\n\n      - name: Run `wit-bindgen version`\n        run: \"wit-bindgen --version\"\n```\n\n#### Setting up a specific version of `wit-bindgen`\n\n```yaml\nname: wit-bindgen\n\non:\n  push:\n    branches: [main]\n\njobs:\n  setup:\n    runs-on: ubuntu-latest\n    name: Setup wit-bindgen\n    steps:\n      - name: Setup `wit-bindgen`\n        uses: bytecodealliance/actions/wit-bindgen/setup@v1\n        with:\n          version: \"0.19.0\"\n\n      - name: Run `wit-bindgen version`\n        run: \"wit-bindgen --version\"\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbytecodealliance%2Factions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbytecodealliance%2Factions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbytecodealliance%2Factions/lists"}