3
0
Fork 0
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:
Dominik Nakamura 2021-10-07 11:35:31 +09:00 committed by Arpad Borsos
parent 81d053bdb0
commit fa61956921
No known key found for this signature in database
GPG key ID: FC7BCA77824B3298
3 changed files with 50 additions and 1 deletions

View file

@ -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.