mirror of
https://github.com/Swatinem/rust-cache.git
synced 2025-07-19 07:11:24 +03:00
Include env vars in the generated cache key
This commit is contained in:

committed by
Arpad Borsos

parent
81d053bdb0
commit
fa61956921
@ -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.
|
||||
|
Reference in New Issue
Block a user