mirror of
https://github.com/actions-rust-lang/setup-rust-toolchain.git
synced 2025-12-27 01:54:20 -05:00
fix: add cache-bin input with true as default value
This commit is contained in:
@@ -58,6 +58,7 @@ Afterward, the `components` and `target` specified via inputs are installed in a
|
|||||||
| `cache-workspaces` | Propagates the value to [`Swatinem/rust-cache`] | |
|
| `cache-workspaces` | Propagates the value to [`Swatinem/rust-cache`] | |
|
||||||
| `cache-on-failure` | Propagates the value to [`Swatinem/rust-cache`] | true |
|
| `cache-on-failure` | Propagates the value to [`Swatinem/rust-cache`] | true |
|
||||||
| `cache-key` | Propagates the value to [`Swatinem/rust-cache`] as `key` | |
|
| `cache-key` | Propagates the value to [`Swatinem/rust-cache`] as `key` | |
|
||||||
|
| `cache-bin` | Propagates the value to [`Swatinem/rust-cache`] | |
|
||||||
| `matcher` | Enable problem matcher to surface build messages and formatting issues | 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" |
|
| `rustflags` | Set the value of `RUSTFLAGS` (set to empty string to avoid overwriting existing flags) | "-D warnings" |
|
||||||
| `override` | Setup the last installed toolchain as the default via `rustup override` | true |
|
| `override` | Setup the last installed toolchain as the default via `rustup override` | true |
|
||||||
|
|||||||
@@ -38,6 +38,10 @@ inputs:
|
|||||||
cache-key:
|
cache-key:
|
||||||
description: "An additional cache key that is added alongside the automatic `job`-based cache key and can be used to further differentiate jobs."
|
description: "An additional cache key that is added alongside the automatic `job`-based cache key and can be used to further differentiate jobs."
|
||||||
required: false
|
required: false
|
||||||
|
cache-bin:
|
||||||
|
description: "Determines whether to cache ${CARGO_HOME}/bin."
|
||||||
|
required: false
|
||||||
|
default: "true"
|
||||||
matcher:
|
matcher:
|
||||||
description: "Enable the Rust problem matcher"
|
description: "Enable the Rust problem matcher"
|
||||||
required: false
|
required: false
|
||||||
@@ -199,4 +203,5 @@ runs:
|
|||||||
workspaces: ${{inputs.cache-workspaces}}
|
workspaces: ${{inputs.cache-workspaces}}
|
||||||
cache-directories: ${{inputs.cache-directories}}
|
cache-directories: ${{inputs.cache-directories}}
|
||||||
cache-on-failure: ${{inputs.cache-on-failure}}
|
cache-on-failure: ${{inputs.cache-on-failure}}
|
||||||
|
cache-bin: ${{inputs.cache-bin}}
|
||||||
key: ${{inputs.cache-key}}
|
key: ${{inputs.cache-key}}
|
||||||
|
|||||||
Reference in New Issue
Block a user