diff --git a/dist/setup/index.js b/dist/setup/index.js index c495782..ce9899b 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -37261,7 +37261,7 @@ exports.restoreCache = (packageManager, cacheDependencyPath) => __awaiter(void 0 core.debug(`primary key is ${primaryKey}`); core.saveState(constants_1.State.CachePrimaryKey, primaryKey); const cacheKey = yield cache.restoreCache(cachePaths, primaryKey); - core.setOutput('cache-hit', Boolean(cacheKey)); + core.setOutput(constants_1.Outputs.CacheHit, Boolean(cacheKey)); if (!cacheKey) { core.info(`Cache is not found`); return; diff --git a/src/cache-restore.ts b/src/cache-restore.ts index 1e1f703..75ab37b 100644 --- a/src/cache-restore.ts +++ b/src/cache-restore.ts @@ -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`);