andersfischernielsen/S3 Cache Action
Allows to skip a job if it already succeeded for the same repo state. Uses S3 for caching.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| bucket-name | Name of the S3 bucket to use for storing cache files. The job needs to have AWS credentials configured to allow read/write from this bucket. | yes | — |
| key-prefix | Key prefix to add to the cache files key. By default the job ID is used. The full key used for the cache files is `cache/${repoOwner}/${repoName}/${keyPrefix}/${treeHash}` | no | ${{ github.job }} |
| aws-region | AWS region for the S3 bucket used for cache files. available. | yes | — |
| aws-access-key-id | Access Key ID for an IAM user with permissions to read/write to the S3 bucket used for cache files. | yes | — |
| aws-secret-access-key | Secret Access Key for an IAM user with permissions to read/write to the S3 bucket used for cache files. | yes | — |
Outputs
| name | description |
|---|---|
| processed | Indicates if the job has already been performed for the current repo state. |
| hash | The repo tree hash which was used for caching. |