Skip to content

Commit 3c7cfa8

Browse files
authored
Merge branch 'main' into rel-1110
2 parents 6cbea1a + b38f618 commit 3c7cfa8

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ Afterward, the `components` and `target` specified via inputs are installed in a
5959
| `cache-on-failure` | Propagates the value to [`Swatinem/rust-cache`] | true |
6060
| `cache-key` | Propagates the value to [`Swatinem/rust-cache`] as `key` | |
6161
| `cache-shared-key` | Propagates the value to [`Swatinem/rust-cache`] as `shared-key` | |
62+
| `cache-bin` | Propagates the value to [`Swatinem/rust-cache`] as `cache-bin` | true |
6263
| `matcher` | Enable problem matcher to surface build messages and formatting issues | true |
6364
| `rustflags` | Set the value of `RUSTFLAGS` (set to empty string to avoid overwriting existing flags) | "-D warnings" |
6465
| `override` | Setup the last installed toolchain as the default via `rustup override` | true |

action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ inputs:
4141
cache-shared-key:
4242
description: "A cache key that is used instead of the automatic `job`-based key, and is stable over multiple jobs."
4343
required: false
44+
cache-bin:
45+
description: "Determines whether to cache ${CARGO_HOME}/bin."
46+
required: false
47+
default: "true"
4448
matcher:
4549
description: "Enable the Rust problem matcher"
4650
required: false
@@ -202,5 +206,6 @@ runs:
202206
workspaces: ${{inputs.cache-workspaces}}
203207
cache-directories: ${{inputs.cache-directories}}
204208
cache-on-failure: ${{inputs.cache-on-failure}}
209+
cache-bin: ${{inputs.cache-bin}}
205210
key: ${{inputs.cache-key}}
206211
shared-key: ${{inputs.cache-shared-key}}

0 commit comments

Comments
 (0)