cexa-ai/local-cache-action
Local cache solution designed for self-hosted runners, without relying on GitHub remote cache
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| path | List of files, directories, or wildcard patterns to cache | yes | — |
| key | Unique key for restoring and saving the cache | yes | — |
| restore-keys | List of fallback keys to use for restoring the cache, ordered by priority | no | — |
| upload-chunk-size | Size of upload chunks in MB | no | 32 |
| enableCrossOsArchive | Whether to enable cross-OS cache archives | no | false |
| fail-on-cache-miss | Whether to fail when cache is not found | no | false |
| lookup-only | Only lookup cache without restoring | no | false |
| compression-level | zstd compression level (-5 to 22) | no | 3 |
| milliseconds | Time to wait | yes | 1000 |
Outputs
| name | description |
|---|---|
| cache-hit | String value indicating whether a cache was found that exactly matches the key |
| cache-primary-key | Primary key used to save the cache, typically used for separate restore and save operations |
| time | The time we waited |