1
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2025-05-04 09:19:55 +02:00

Add reeval & only-restore boolean input parameters

* implement only-restore within save
This commit is contained in:
Vincent Clemson 2022-06-18 15:53:43 -04:00
parent c3f1317a9e
commit 4827442d41
4 changed files with 64 additions and 48 deletions

View file

@ -14,6 +14,14 @@ inputs:
upload-chunk-size:
description: 'The chunk size used to split up large files during upload, in bytes'
required: false
reeval:
description: 'Boolean. Whether to reevaluate the key argument in post. Set to TRUE if you would like your cache key set after your job's steps are complete.'
required: false
default: false
only-restore:
description: 'Boolean. Whether to only perform cache restoration and NOT the save post run step.'
required: false
default: false
outputs:
cache-hit:
description: 'A boolean value to indicate an exact match was found for the primary key'