clementtsang/cargo action
Invoke cargo/cross and commands.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| command | The `cargo` command to run (e.g. `build`, `test`). | yes | — |
| toolchain | The toolchain to use. Do not include the `+` sign (e.g. `nightly`, `beta`). Defaults to stable. | no | "" |
| args | What arguments to pass to the cargo/cross command. | no | "" |
| use-cross | Whether to use cross instead of using cargo. If enabled, cross will automatically be installed if needed. | no | false |
| cross-version | The cross version to use. This is only used if `use-cross` is enabled. If it is not set, defaults to the newest stable version of cross. You can also set the special versions of "main" or "git:xyz" to specify a specific git hash or the current main branch head of cross. | no | "" |
| directory | Change to the specified directory prior to execution. Useful if your repo's base folder does not contain your Rust project. | no | "" |
| repository-url | Alternative repository to use for the cross crate | no | "" |
Outputs
no outputs