mirror of
https://github.com/Swatinem/rust-cache
synced 2026-02-07 03:22:15 +00:00
feat: add option to cache all crates
Add cache-all-crates option which allows all crates to be cached instead of just the dependency crates. This is useful when additional crates are required for CI tooling.
This commit is contained in:
parent
127a0e9568
commit
028a3ac2df
6 changed files with 42 additions and 17 deletions
|
|
@ -54,6 +54,12 @@ sensible defaults.
|
|||
# default: "false"
|
||||
cache-on-failure: ""
|
||||
|
||||
# Determines which crates are cached.
|
||||
# If `true` all crates will be cached, otherwise only dependent crates will be cached.
|
||||
# Useful if additional crates are used for CI tooling.
|
||||
# default: "false"
|
||||
cache-all-crates: ""
|
||||
|
||||
# Determiners whether the cache should be saved.
|
||||
# If `false`, the cache is only restored.
|
||||
# Useful for jobs where the matrix is additive e.g. additional Cargo features.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue