diff --git a/README.md b/README.md index fa491a6..cdbfe0c 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,8 @@ If you are using this inside a container, a POSIX-compliant `tar` needs to be in * `key` - An explicit key for restoring and saving the cache * `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. +* `reeval` - A boolean. Whether to reevaluate the `key` argument in the action's post run script when saving cache. Set to `true` if you would like your cache key set after your job's steps are complete. +* `only-restore` - A boolean. Whether to only perform cache restoration and not the save post run script. ### Outputs diff --git a/action.yml b/action.yml index 99cd388..e023800 100644 --- a/action.yml +++ b/action.yml @@ -15,11 +15,11 @@ inputs: 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." + description: "A boolean. Whether to reevaluate the `key` argument in the action's post run script when saving cache. 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.' + description: 'A boolean. Whether to only perform cache restoration and not the save post run script.' required: false default: false outputs: