actions-marketplace-validations/Local cache
Cache artifacts like dependencies and build outputs to improve workflow execution time on a local path
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| path | A list of files, directories, and wildcard patterns to cache and restore | yes | — |
| key | An explicit key for restoring and saving the cache | yes | — |
| restore-keys | An ordered list of keys to use for restoring stale cache if no cache hit occurred for key. Note `cache-hit` returns false in this case. | no | — |
| skip-save | Skip saving of the cache. Useful if you only want to restore the files of another build / job. | no | — |
| skip-restore | Skip restoring of the cache. Useful if you want to create the cache, but never rely on any old/existing files. | — | — |
| skip-failure | Allow tar failures to not fail out a build - this can be used for the event tar archives are corrupted to not fail | no | — |
Outputs
| name | description |
|---|---|
| cache-hit | A boolean value to indicate an exact match was found for the primary key |