mirror of
https://github.com/Swatinem/rust-cache
synced 2025-11-01 13:17:51 +00:00
Adds an option to do lookup-only of the cache (#217)
This commit is contained in:
parent
68b3cb7503
commit
c00f3025ca
4 changed files with 29 additions and 7 deletions
|
|
@ -40,6 +40,10 @@ inputs:
|
|||
description: "Determines which provider to use for caching. Options are github or buildjet, defaults to github."
|
||||
required: false
|
||||
default: "github"
|
||||
lookup-only:
|
||||
description: "Check if a cache entry exists without downloading the cache"
|
||||
required: false
|
||||
default: "false"
|
||||
outputs:
|
||||
cache-hit:
|
||||
description: "A boolean value that indicates an exact match was found."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue