mirror of
https://github.com/actions-rust-lang/setup-rust-toolchain.git
synced 2024-12-25 16:48:32 +01:00
Switch default of cache-on-failure
to true
This commit is contained in:
parent
74e1b40e68
commit
1734e14b0b
2 changed files with 6 additions and 4 deletions
|
@ -53,12 +53,14 @@ Afterward, the `components` and `target` specified via inputs are installed in a
|
|||
| `toolchain` | Rustup toolchain specifier e.g. `stable`, `nightly`, `1.42.0`. | stable |
|
||||
| `target` | Additional target support to install e.g. `wasm32-unknown-unknown` | |
|
||||
| `components` | Comma-separated string of additional components to install e.g. `clippy, rustfmt` | |
|
||||
| `cache` | Automatically configure Rust cache (using `Swatinem/rust-cache`) | true |
|
||||
| `cache-workspaces` | Propagates the value to `Swatinem/rust-cache` | |
|
||||
| `cache-on-failure` | Propagates the value to `Swatinem/rust-cache` | |
|
||||
| `cache` | Automatically configure Rust cache (using [`Swatinem/rust-cache`]) | true |
|
||||
| `cache-workspaces` | Propagates the value to [`Swatinem/rust-cache`] | |
|
||||
| `cache-on-failure` | Propagates the value to [`Swatinem/rust-cache`] | true |
|
||||
| `matcher` | Enable problem matcher to surface build messages and formatting issues | true |
|
||||
| `rustflags` | Set the value of `RUSTFLAGS` (set to empty string to avoid overwriting existing flags) | "-D warnings" |
|
||||
|
||||
[`Swatinem/rust-cache`]: https://github.com/Swatinem/rust-cache
|
||||
|
||||
### RUSTFLAGS
|
||||
|
||||
By default, this action sets the `RUSTFLAGS` environment variable to `-D warnings`.
|
||||
|
|
|
@ -30,7 +30,7 @@ inputs:
|
|||
required: false
|
||||
cache-on-failure:
|
||||
description: "Also cache on workflow failures"
|
||||
default: "false"
|
||||
default: "true"
|
||||
required: false
|
||||
matcher:
|
||||
description: "Enable the Rust problem matcher"
|
||||
|
|
Loading…
Reference in a new issue