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