b1f030/Cache Aliyun
actions/cache@v2 for Aliyun OSS and compatible software (forked Actions)
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
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 | — |
| 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 |
| aws-s3-bucket | An Aliyun OSS bucket to save cache | yes | — |
| aws-access-key-id | An Aliyun access key id to access the bucket | no | — |
| aws-secret-access-key | An Aliyun secret access key to access the bucket | no | — |
| aws-session-token | An Aliyun session token to access the bucket | no | — |
| aws-region | An Aliyun region where the bucket is located | no | — |
| aws-endpoint | An endpoint of Aliyun OSS (for compatible software) | no | — |
| aws-s3-bucket-endpoint | Whether to use the bucket name as the endpoint for this request. | no | false |
| aws-s3-force-path-style | Whether to force path style URLs for S3 objects. | no | false |
Outputs
| name | description |
|---|---|
| cache-hit | A boolean value to indicate an exact match was found for the primary key |