weavr-io/Cache
Cache artifacts like dependencies and build outputs to improve workflow execution time
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 and restore | yes | — |
| key | An explicit key for restoring and saving the cache | yes | — |
| restore-keys | An 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-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 |
| fail-on-cache-miss | Fail the workflow if cache entry is not found | no | false |
| lookup-only | Check if a cache entry exists for the given input(s) (key, restore-keys) without downloading the cache | no | false |
| save-always | Run the post step to save the cache even if another step before fails | no | false |
| azure-connection-string | Azure Storage connection string. When provided, cache will be stored in Azure Blob Storage instead of GitHub Actions cache. | no | — |
| azure-container-name | Azure Blob container name for cache storage | no | github-actions-cache |
Outputs
| name | description |
|---|---|
| cache-hit | A boolean value to indicate an exact match was found for the primary key |