mirror of
https://github.com/Swatinem/rust-cache
synced 2026-01-20 11:13:22 +00:00
Consider all installed toolchains in cache key
This commit is contained in:
parent
230365fb7a
commit
b13636f54b
4 changed files with 121 additions and 35 deletions
|
|
@ -143,7 +143,8 @@ This cache is automatically keyed by:
|
|||
|
||||
- the github [`job_id`](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_id)
|
||||
(if `add-job-id-key` is `"true"`),
|
||||
- the rustc release / host / hash,
|
||||
- the rustc release / host / hash (for all installed toolchains when
|
||||
available),
|
||||
- the following values, if `add-rust-environment-hash-key` is `"true"`:
|
||||
- the value of some compiler-specific environment variables (eg. RUSTFLAGS, etc), and
|
||||
- a hash of all `Cargo.lock` / `Cargo.toml` files found anywhere in the repository (if present).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue