Allow updating cache with 'update' key

This commit is contained in:
davidsbond 2020-06-18 22:30:32 +01:00
parent eed9cfe64d
commit 2d697b4d9c
6 changed files with 62 additions and 4 deletions

View file

@ -11,6 +11,9 @@ inputs:
restore-keys:
description: 'An ordered list of keys to use for restoring the cache if no cache hit occurred for key'
required: false
update:
description: 'If true, the cache will be updated if the key already exists'
required: false
outputs:
cache-hit:
description: 'A boolean value to indicate an exact match was found for the primary key'