soluf-th/Cache

Cache artifacts like dependencies and build outputs to improve workflow execution time

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
pathA list of files, directories, and wildcard patterns to cache and restoreyes
keyAn explicit key for restoring and saving the cacheyes
restore-keysAn ordered multiline string listing the prefix-matched keys, that are used for restoring stale cache if no cache hit occurred for key. Note `cache-hit` returns false in this case.no
upload-chunk-sizeThe chunk size used to split up large files during upload, in bytesno
enableCrossOsArchiveAn optional boolean when enabled, allows windows runners to save or restore caches that can be restored or saved respectively on other platformsnofalse
fail-on-cache-missFail the workflow if cache entry is not foundnofalse
lookup-onlyCheck if a cache entry exists for the given input(s) (key, restore-keys) without downloading the cachenofalse
save-alwaysRun the post step to save the cache even if another step before failsnofalse
namedescription
cache-hitA boolean value to indicate an exact match was found for the primary key