jcbhmr/Setup cargo component
🦀 Install the cargo component subcommand for GitHub Actions
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| cargo-component-version | Which version of cargo-component to install. This can be an exact version specifier such as '0.7.0' or a semver range like '~0.7.0' or '0.x'. Use 'latest' to always install the latest release. Defaults to 'latest'. | — | latest |
| cargo-component-token | The GitHub token to use when fetching the version list from bytecodealliance/cargo-component. 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. | — | ${{ github.server_url == 'https://github.com' && github.token || '' }} |
Outputs
| name | description |
|---|---|
| cargo-component-version | The version of cargo-component that was installed. This will be something like '0.7.0' or similar. |
| cache-hit | Whether or not cargo-component was restored from the runner's cache or download anew. |