sparebank1utvikling/Cache S3
actions/cache@v5 for AWS S3 and compatible software (forked Actions)
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 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 | — |
| upload-chunk-size | The chunk size used to split up large files during upload, in bytes | no | — |
| 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 |
| aws-s3-bucket | An AWS S3 bucket to save cache | yes | — |
| aws-access-key-id | An AWS access key id to access the bucket | no | — |
| aws-secret-access-key | An AWS secret access key to access the bucket | no | — |
| aws-session-token | An AWS session token to access the bucket | no | — |
| aws-region | An AWS region where the bucket is located | no | — |
| aws-endpoint | An endpoint of AWS S3 (for compatible software) | no | — |
| aws-s3-bucket-endpoint | Whether to use the bucket name as the endpoint for this request. | no | true |
| aws-s3-force-path-style | Whether to force path style URLs for S3 objects. | no | false |
| s3-stream-download | Stream s3 download instead of downloading the whole file at once. | no | true |
Outputs
| name | description |
|---|---|
| cache-hit | A boolean value to indicate an exact match was found for the primary key |