itchyny/Cache files to Amazon S3

GitHub Action to save cache files and restore them from Amazon S3

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jun 26, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: itchyny/s3-cache-action@f7700c3ec7b3b81412e35f1d6cb00ca27b3094dd # v1.1.6

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
pathA list of file paths or glob patterns to save and restoreyes—
keyA key to use for restoring and saving the filesyes—
restore-keysAn ordered list of keys to use for restoring the filesno—
lookup-onlyA boolean value indicating whether to lookup without downloading the cacheno—
fail-on-cache-missA boolean value indicating whether to fail if the cache is not foundno—
bucket-nameBucket name to save and restore cache filesyes—
aws-regionAWS region of the bucketno—
aws-access-key-idAWS access key ID to access the bucketno—
aws-secret-access-keyAWS secret access key to access the bucketno—
aws-session-tokenAWS session token to access the bucketno—
namedescription
cache-hitA string "true" or "false" indicating whether the cache hit with the key. If the cache is restored with one of the restore-keys, the value is "false". If the cache is not restored, the value is "".