Compare commits

..

2 commits
v1 ... master

Author SHA1 Message Date
Ivan Tham 88dc235639 Mention the default for toolchain and profile 2020-11-29 18:15:29 +01:00
Pytal b3ea035039 Fix typo 2020-11-28 10:37:02 +01:00

View file

@ -58,11 +58,11 @@ See [additional recipes here](https://github.com/actions-rs/meta).
| Name | Required | Description | Type | Default | | Name | Required | Description | Type | Default |
| ------------ | :------: | ----------------------------------------------------------------------------------------------------------------------------------------------------| ------ | --------| | ------------ | :------: | ----------------------------------------------------------------------------------------------------------------------------------------------------| ------ | --------|
| `toolchain` | | [Toolchain](https://github.com/rust-lang/rustup.rs#toolchain-specification) name to use, ex. `stable`, `nightly`, `nightly-2019-04-20`, or `1.32.0` | string | | | `toolchain` | | [Toolchain](https://github.com/rust-lang/rustup.rs#toolchain-specification) name to use, ex. `stable`, `nightly`, `nightly-2019-04-20`, or `1.32.0` | string | stable |
| `target` | | Additionally install specified target for this toolchain, ex. `x86_64-apple-darwin` | string | | | `target` | | Additionally install specified target for this toolchain, ex. `x86_64-apple-darwin` | string | |
| `default` | | Set installed toolchain as a default toolchain | bool | false | | `default` | | Set installed toolchain as a default toolchain | bool | false |
| `override` | | Set installed toolchain as an override for the current directory | bool | false | | `override` | | Set installed toolchain as an override for the current directory | bool | false |
| `profile` | | Execute `rustup set profile {value}` before installing the toolchain, ex. `minimal` | string | | | `profile` | | Execute `rustup set profile {value}` before installing the toolchain, ex. `minimal` | string | default |
| `components` | | Comma-separated list of the additional components to install, ex. `clippy, rustfmt` | string | | | `components` | | Comma-separated list of the additional components to install, ex. `clippy, rustfmt` | string | |
Note: since `v1.0.4` version, `toolchain` input is not marked as required Note: since `v1.0.4` version, `toolchain` input is not marked as required
@ -79,7 +79,7 @@ Installed `rustc`, `cargo` and `rustup` versions can be fetched from the Action
| `cargo` | Cargo version | `1.40.0 (bc8e4c8be 2019-11-22)` | | `cargo` | Cargo version | `1.40.0 (bc8e4c8be 2019-11-22)` |
| `rustup` | rustup version | `1.21.1 (7832b2ebe 2019-12-20)` | | `rustup` | rustup version | `1.21.1 (7832b2ebe 2019-12-20)` |
Note: `rustc-hash` output value can be used with [actions/cache](https://github.com/actions/cache) Action Note: `rustc_hash` output value can be used with [actions/cache](https://github.com/actions/cache) Action
to store cache for different Rust versions, as it is unique across different Rust versions and builds (including `nightly`). to store cache for different Rust versions, as it is unique across different Rust versions and builds (including `nightly`).
## Profiles ## Profiles