mirror of
https://github.com/Swatinem/rust-cache
synced 2025-09-03 01:58:08 +00:00
Include env vars in the generated cache key
This commit is contained in:
parent
81d053bdb0
commit
fa61956921
3 changed files with 50 additions and 1 deletions
|
@ -26,6 +26,10 @@ An optional key that is added to the automatic cache key.
|
|||
: `sharedKey`
|
||||
An additional key that is stable over multiple jobs.
|
||||
|
||||
: `envVars`
|
||||
A space-separated list of regular expressions that define additional environment variable filters.
|
||||
These are added to an additional cache key that's generated from environment variable contents.
|
||||
|
||||
: `working-directory`
|
||||
The working directory the action operates in, is case the cargo project is not
|
||||
located in the repo root.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue