3
0
Fork 0
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:
Daniel LeCheminant 2024-11-08 11:36:34 -08:00 committed by GitHub
parent 68b3cb7503
commit c00f3025ca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 29 additions and 7 deletions

View file

@ -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."