mirror of
https://github.com/actions/cache.git
synced 2025-03-13 11:47:00 +00:00
This commit is contained in:
parent
3a696372f2
commit
681ffa4ee9
1 changed files with 3 additions and 0 deletions
|
@ -40,6 +40,9 @@ Create a workflow `.yml` file in your repositories `.github/workflows` directory
|
|||
* `key` - An explicit key for restoring and saving the cache
|
||||
* `restore-keys` - An ordered list of keys to use for restoring the cache if no cache hit occurred for key
|
||||
|
||||
### Environment Variables
|
||||
* `CACHE_SKIP_SAVE` - [optional] When set to `true`, any modifications made to the restored cache will not be persisted back at the end of the step. This environment variable can be set at any time using `echo "CACHE_SKIP_SAVE=true" >> $GITHUB_ENV`
|
||||
|
||||
### Outputs
|
||||
|
||||
* `cache-hit` - A boolean value to indicate an exact match was found for the key
|
||||
|
|
Loading…
Add table
Reference in a new issue