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