Add a restore-only option to support pulling without saving a cache entry

This commit is contained in:
Jason T. Greene 2020-01-29 16:53:20 -05:00
parent e43776276f
commit e44e77f968
4 changed files with 56 additions and 1 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
restore-only:
description: 'Disables saving a new cache entry when true'
required: false
outputs:
cache-hit:
description: 'A boolean value to indicate an exact match was found for the primary key'