mirror of
https://github.com/Swatinem/rust-cache.git
synced 2025-12-18 15:39:46 +00:00
docs: Update cache key generation details in README.md to match introduced key option logic
This commit is contained in:
parent
c16dfe52fa
commit
6b9048689b
@ -131,8 +131,9 @@ This action currently caches the following files/directories:
|
|||||||
|
|
||||||
This cache is automatically keyed by:
|
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),
|
- 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,
|
||||||
|
- the following values, if `add-rust-environment-hash-key` is `"true"`:
|
||||||
- the value of some compiler-specific environment variables (eg. RUSTFLAGS, etc), and
|
- 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).
|
- a hash of all `Cargo.lock` / `Cargo.toml` files found anywhere in the repository (if present).
|
||||||
- a hash of all `rust-toolchain` / `rust-toolchain.toml` files in the root of the repository (if present).
|
- a hash of all `rust-toolchain` / `rust-toolchain.toml` files in the root of the repository (if present).
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user