diff --git a/README.md b/README.md index 10e7bb2..cfbf823 100644 --- a/README.md +++ b/README.md @@ -59,6 +59,7 @@ Afterward, the `components` and `target` specified via inputs are installed in a | `cache-on-failure` | Propagates the value to [`Swatinem/rust-cache`] | true | | `cache-key` | Propagates the value to [`Swatinem/rust-cache`] as `key` | | | `cache-shared-key` | Propagates the value to [`Swatinem/rust-cache`] as `shared-key` | | +| `cache-bin` | Propagates the value to [`Swatinem/rust-cache`] as `cache-bin` | 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" | | `override` | Setup the last installed toolchain as the default via `rustup override` | true | diff --git a/action.yml b/action.yml index f829e66..d3aecfe 100644 --- a/action.yml +++ b/action.yml @@ -41,6 +41,10 @@ inputs: cache-shared-key: description: "A cache key that is used instead of the automatic `job`-based key, and is stable over multiple jobs." required: false + cache-bin: + description: "Determines whether to cache ${CARGO_HOME}/bin." + required: false + default: "true" matcher: description: "Enable the Rust problem matcher" required: false @@ -202,5 +206,6 @@ runs: workspaces: ${{inputs.cache-workspaces}} cache-directories: ${{inputs.cache-directories}} cache-on-failure: ${{inputs.cache-on-failure}} + cache-bin: ${{inputs.cache-bin}} key: ${{inputs.cache-key}} shared-key: ${{inputs.cache-shared-key}}