Update for actions/cache@v3

This commit is contained in:
Dan Blanchard 2023-08-31 13:04:54 -04:00
commit 9420979f7c
No known key found for this signature in database
65 changed files with 173609 additions and 137441 deletions

View file

@ -9,11 +9,23 @@ inputs:
description: 'An explicit key for restoring and saving the cache'
required: true
restore-keys:
description: 'An ordered list of keys to use for restoring the cache if no cache hit occurred for key'
description: '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.'
required: false
upload-chunk-size:
description: 'The chunk size used to split up large files during upload, in bytes'
required: false
enableCrossOsArchive:
description: 'An optional boolean when enabled, allows windows runners to save or restore caches that can be restored or saved respectively on other platforms'
default: 'false'
required: false
fail-on-cache-miss:
description: 'Fail the workflow if cache entry is not found'
default: 'false'
required: false
lookup-only:
description: 'Check if a cache entry exists for the given input(s) (key, restore-keys) without downloading the cache'
default: 'false'
required: false
aws-s3-bucket:
description: 'An AWS S3 bucket to save cache'
required: true
@ -32,11 +44,11 @@ inputs:
aws-s3-bucket-endpoint:
description: 'Whether to use the bucket name as the endpoint for this request.'
required: false
default: true
default: 'true'
aws-s3-force-path-style:
description: 'Whether to force path style URLs for S3 objects.'
required: false
default: false
default: 'false'
outputs:
cache-hit:
description: 'A boolean value to indicate an exact match was found for the primary key'
@ -44,7 +56,7 @@ runs:
using: 'node16'
main: 'dist/restore/index.js'
post: 'dist/save/index.js'
post-if: 'success()'
post-if: success()
branding:
icon: 'archive'
color: 'gray-dark'