mirror of
https://github.com/actions-rust-lang/setup-rust-toolchain.git
synced 2025-07-04 12:31:11 +00:00
Merge pull request #53 from actions-rust-lang/rel-1110
This commit is contained in:
commit
9399c7bb15
3 changed files with 10 additions and 5 deletions
|
@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [1.11.0] - 2025-02-24
|
||||||
|
|
||||||
|
* Add new parameter `cache-bin` that is propagated to `Swatinem/rust-cache` as `cache-bin` (#51 by @enkhjile)
|
||||||
|
* Add new parameter `cache-shared-key` that is propagated to `Swatinem/rust-cache` as `shared-key` (#52 by @skanehira)
|
||||||
|
|
||||||
## [1.10.1] - 2024-10-01
|
## [1.10.1] - 2024-10-01
|
||||||
|
|
||||||
* Fix problem matcher for rustfmt output.
|
* Fix problem matcher for rustfmt output.
|
||||||
|
|
|
@ -58,8 +58,8 @@ 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-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 |
|
| `cache-bin` | Propagates the value to [`Swatinem/rust-cache`] as `cache-bin` | true |
|
||||||
| `shared-cache-key` | Propagates the value to [`Swatinem/rust-cache`] as `shared-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" |
|
||||||
| `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,13 +38,13 @@ 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-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:
|
cache-bin:
|
||||||
description: "Determines whether to cache ${CARGO_HOME}/bin."
|
description: "Determines whether to cache ${CARGO_HOME}/bin."
|
||||||
required: false
|
required: false
|
||||||
default: "true"
|
default: "true"
|
||||||
shared-cache-key:
|
|
||||||
description: "A cache key that is used instead of the automatic `job`-based key, and is stable over multiple jobs."
|
|
||||||
required: false
|
|
||||||
matcher:
|
matcher:
|
||||||
description: "Enable the Rust problem matcher"
|
description: "Enable the Rust problem matcher"
|
||||||
required: false
|
required: false
|
||||||
|
@ -208,4 +208,4 @@ runs:
|
||||||
cache-on-failure: ${{inputs.cache-on-failure}}
|
cache-on-failure: ${{inputs.cache-on-failure}}
|
||||||
cache-bin: ${{inputs.cache-bin}}
|
cache-bin: ${{inputs.cache-bin}}
|
||||||
key: ${{inputs.cache-key}}
|
key: ${{inputs.cache-key}}
|
||||||
shared-key: ${{inputs.shared-cache-key}}
|
shared-key: ${{inputs.cache-shared-key}}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue