mirror of
https://github.com/actions/setup-go.git
synced 2025-06-29 20:53:43 +00:00
Fix message source of the output when cache hit occured
This commit is contained in:
parent
5ee8b21df4
commit
5a9c31a7db
2 changed files with 2 additions and 2 deletions
|
@ -35,7 +35,7 @@ export const restoreCache = async (
|
|||
core.saveState(State.CachePrimaryKey, primaryKey);
|
||||
|
||||
const cacheKey = await cache.restoreCache(cachePaths, primaryKey);
|
||||
core.setOutput('cache-hit', Boolean(cacheKey));
|
||||
core.setOutput(Outputs.CacheHit, Boolean(cacheKey));
|
||||
|
||||
if (!cacheKey) {
|
||||
core.info(`Cache is not found`);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue