edomora97/Local Cache

Like actions/cache, but using a runner-local directory

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Jan 13, 2023
License
MIT
Runtime
Deprecated runtime

Pinned Snippet

workflow.ymlSHA-pinned
uses: edomora97/local-cache-action@332ad1f67d9e58c0c07003645015753d2bd7f7e8 # v1

tags can be moved; commit SHAs can't. why a SHA?

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 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
cache-dirAbsolute path in the runner where the cache files are storedyes
namedescription
cache-hitA boolean value to indicate an exact match was found for the primary key