mirror of
https://github.com/Swatinem/rust-cache
synced 2025-11-30 18:57:18 +00:00
feat: Update cache key configuration option names for better clarity for their intended functionality
This commit is contained in:
parent
c21ebd7031
commit
70fec6c203
3 changed files with 15 additions and 13 deletions
|
|
@ -12,12 +12,12 @@ inputs:
|
|||
key:
|
||||
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
|
||||
use-job-key:
|
||||
description: "If the automatic `job`-based cache key should be used for the cache name. Defaults to true."
|
||||
add-job-id-key:
|
||||
description: "If the automatic `job`-based cache key should include the job id. Defaults to true."
|
||||
required: false
|
||||
default: "true"
|
||||
add-job-hash:
|
||||
description: "If the automatic `job`-based cache key should include a hash of the job's contents. Defaults to false."
|
||||
add-rust-environment-hash-key:
|
||||
description: "Weather the a hash of the rust environment should be included in the cache key. This includes a hash of all Cargo.toml/Cargo.lock files, rust-toolchain files, and .cargo/config.toml files (if present), as well as the specified 'env-vars'. Defaults to true."
|
||||
required: false
|
||||
default: "true"
|
||||
env-vars:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue