Merge pull request #41 from iainlane/iainlane/propagate-cache-key
This commit is contained in:
commit
a90048dfdd
|
@ -56,6 +56,7 @@ Afterward, the `components` and `target` specified via inputs are installed in a
|
||||||
| `cache` | Automatically configure Rust cache (using [`Swatinem/rust-cache`]) | true |
|
| `cache` | Automatically configure Rust cache (using [`Swatinem/rust-cache`]) | true |
|
||||||
| `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` | |
|
||||||
| `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" |
|
||||||
|
|
||||||
|
|
|
@ -35,6 +35,9 @@ inputs:
|
||||||
description: "Also cache on workflow failures"
|
description: "Also cache on workflow failures"
|
||||||
default: "true"
|
default: "true"
|
||||||
required: false
|
required: false
|
||||||
|
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."
|
||||||
|
required: false
|
||||||
matcher:
|
matcher:
|
||||||
description: "Enable the Rust problem matcher"
|
description: "Enable the Rust problem matcher"
|
||||||
required: false
|
required: false
|
||||||
|
@ -185,3 +188,4 @@ 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}}
|
||||||
|
key: ${{inputs.cache-key}}
|
||||||
|
|
Loading…
Reference in New Issue