ozankasikci/Local Runner Cache
Cache files and folders locally on the runner filesystem for faster builds
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| path | A list of files, directories, and wildcard patterns to cache | 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 | no | — |
| upload-chunk-size | The chunk size used to split up large files during upload, in bytes | no | — |
| enableCrossOsArchive | An optional boolean when enabled, allows windows runners to save or restore caches that can be restored or saved respectively on other platforms | no | false |
| cache-dir | Directory where cache files will be stored. Defaults to ~/.cache/github-actions-local-cache | no | — |
| lock-timeout | Maximum time in seconds to wait for file locks before breaking them. Defaults to 60 seconds | no | 60 |
Outputs
| name | description |
|---|---|
| cache-hit | A boolean value to indicate an exact match was found for the primary key |
| cache-primary-key | The key used to store the cache |
| cache-matched-key | The key of the cache that was restored (if any) |