edomora97/Local Cache
Like actions/cache, but using a runner-local directory
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Jan 13, 2023
- License
- MIT
- Runtime
- Deprecated runtime
Pinned Snippet
uses: edomora97/local-cache-action@332ad1f67d9e58c0c07003645015753d2bd7f7e8 # v1tags can be moved; commit SHAs can't. why a SHA?
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 | — |
| cache-dir | Absolute path in the runner where the cache files are stored | yes | — |
Outputs
| name | description |
|---|---|
| cache-hit | A boolean value to indicate an exact match was found for the primary key |