File tree Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
88## [ Unreleased]
99
10+ ### Added
11+
12+ * An option to disable configuring Rust cache.
13+
1014## [ 1.2.1] - 2022-07-29
1115
1216### Fixed
Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ All input values are ignored if a toolchain file exists.
5050| `toolchain` | Rustup toolchain specifier e.g. `stable`, `nightly`, `1.42.0`. | stable |
5151| `target` | Additional target support to install e.g. `wasm32-unknown-unknown` | |
5252| `components` | Comma-separated string of additional components to install e.g. `clippy, rustfmt` | |
53+ | `cache` | Automatically configure Rust cache (using `Swatinem/rust-cache`) | true |
5354
5455# # Outputs
5556
Original file line number Diff line number Diff line change @@ -22,6 +22,10 @@ inputs:
2222 components :
2323 description : " Comma-separated list of components to be additionally installed"
2424 required : false
25+ cache :
26+ description : " Automatically configure Rust cache"
27+ required : false
28+ default : " true"
2529
2630outputs :
2731 rustc-version :
@@ -100,4 +104,5 @@ runs:
100104 shell : bash
101105
102106 - name : " Setup Rust Caching"
107+ if : inputs.cache == 'true'
103108 uses : Swatinem/rust-cache@v2
You can’t perform that action at this time.
0 commit comments