Skip to content

Commit 9399c7b

Browse files
authored
Merge pull request #53 from actions-rust-lang/rel-1110
2 parents b38f618 + 3c7cfa8 commit 9399c7b

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [1.11.0] - 2025-02-24
11+
12+
* Add new parameter `cache-bin` that is propagated to `Swatinem/rust-cache` as `cache-bin` (#51 by @enkhjile)
13+
* Add new parameter `cache-shared-key` that is propagated to `Swatinem/rust-cache` as `shared-key` (#52 by @skanehira)
14+
1015
## [1.10.1] - 2024-10-01
1116

1217
* Fix problem matcher for rustfmt output.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ Afterward, the `components` and `target` specified via inputs are installed in a
5858
| `cache-workspaces` | Propagates the value to [`Swatinem/rust-cache`] | |
5959
| `cache-on-failure` | Propagates the value to [`Swatinem/rust-cache`] | true |
6060
| `cache-key` | Propagates the value to [`Swatinem/rust-cache`] as `key` | |
61+
| `cache-shared-key` | Propagates the value to [`Swatinem/rust-cache`] as `shared-key` | |
6162
| `cache-bin` | Propagates the value to [`Swatinem/rust-cache`] as `cache-bin` | true |
62-
| `shared-cache-key` | Propagates the value to [`Swatinem/rust-cache`] as `shared-key` | |
6363
| `matcher` | Enable problem matcher to surface build messages and formatting issues | true |
6464
| `rustflags` | Set the value of `RUSTFLAGS` (set to empty string to avoid overwriting existing flags) | "-D warnings" |
6565
| `override` | Setup the last installed toolchain as the default via `rustup override` | true |

action.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ inputs:
3838
cache-key:
3939
description: "An additional cache key that is added alongside the automatic `job`-based cache key and can be used to further differentiate jobs."
4040
required: false
41+
cache-shared-key:
42+
description: "A cache key that is used instead of the automatic `job`-based key, and is stable over multiple jobs."
43+
required: false
4144
cache-bin:
4245
description: "Determines whether to cache ${CARGO_HOME}/bin."
4346
required: false
4447
default: "true"
45-
shared-cache-key:
46-
description: "A cache key that is used instead of the automatic `job`-based key, and is stable over multiple jobs."
47-
required: false
4848
matcher:
4949
description: "Enable the Rust problem matcher"
5050
required: false
@@ -208,4 +208,4 @@ runs:
208208
cache-on-failure: ${{inputs.cache-on-failure}}
209209
cache-bin: ${{inputs.cache-bin}}
210210
key: ${{inputs.cache-key}}
211-
shared-key: ${{inputs.shared-cache-key}}
211+
shared-key: ${{inputs.cache-shared-key}}

0 commit comments

Comments
 (0)