Loading dist/cleanup/index.js +2 −3 Changes for dist/cleanup/index.js: 2 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -66227,9 +66227,8 @@ function restore(id) { if (primaryKey.endsWith('-')) { throw new Error(`No file in ${process.cwd()} matched to [${packageManager.pattern}], make sure you have checked out the target repository`); } const matchedKey = yield cache.restoreCache(packageManager.path, primaryKey, [ `${CACHE_KEY_PREFIX}-${process.env['RUNNER_OS']}-${id}` ]); // No "restoreKeys" is set, to start with a clear cache after dependency update (see https://github.com/actions/setup-java/issues/269) const matchedKey = yield cache.restoreCache(packageManager.path, primaryKey); if (matchedKey) { core.saveState(CACHE_MATCHED_KEY, matchedKey); core.setOutput('cache-hit', matchedKey === primaryKey); dist/setup/index.js +2 −3 Changes for dist/setup/index.js: 2 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -101432,9 +101432,8 @@ function restore(id) { if (primaryKey.endsWith('-')) { throw new Error(`No file in ${process.cwd()} matched to [${packageManager.pattern}], make sure you have checked out the target repository`); } const matchedKey = yield cache.restoreCache(packageManager.path, primaryKey, [ `${CACHE_KEY_PREFIX}-${process.env['RUNNER_OS']}-${id}` ]); // No "restoreKeys" is set, to start with a clear cache after dependency update (see https://github.com/actions/setup-java/issues/269) const matchedKey = yield cache.restoreCache(packageManager.path, primaryKey); if (matchedKey) { core.saveState(CACHE_MATCHED_KEY, matchedKey); core.setOutput('cache-hit', matchedKey === primaryKey); src/cache.ts +2 −3 Changes for src/cache.ts: 2 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -91,9 +91,8 @@ export async function restore(id: string) { ); } const matchedKey = await cache.restoreCache(packageManager.path, primaryKey, [ `${CACHE_KEY_PREFIX}-${process.env['RUNNER_OS']}-${id}` ]); // No "restoreKeys" is set, to start with a clear cache after dependency update (see https://github.com/actions/setup-java/issues/269) const matchedKey = await cache.restoreCache(packageManager.path, primaryKey); if (matchedKey) { core.saveState(CACHE_MATCHED_KEY, matchedKey); core.setOutput('cache-hit', matchedKey === primaryKey); Loading Loading
dist/cleanup/index.js +2 −3 Changes for dist/cleanup/index.js: 2 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -66227,9 +66227,8 @@ function restore(id) { if (primaryKey.endsWith('-')) { throw new Error(`No file in ${process.cwd()} matched to [${packageManager.pattern}], make sure you have checked out the target repository`); } const matchedKey = yield cache.restoreCache(packageManager.path, primaryKey, [ `${CACHE_KEY_PREFIX}-${process.env['RUNNER_OS']}-${id}` ]); // No "restoreKeys" is set, to start with a clear cache after dependency update (see https://github.com/actions/setup-java/issues/269) const matchedKey = yield cache.restoreCache(packageManager.path, primaryKey); if (matchedKey) { core.saveState(CACHE_MATCHED_KEY, matchedKey); core.setOutput('cache-hit', matchedKey === primaryKey);
dist/setup/index.js +2 −3 Changes for dist/setup/index.js: 2 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -101432,9 +101432,8 @@ function restore(id) { if (primaryKey.endsWith('-')) { throw new Error(`No file in ${process.cwd()} matched to [${packageManager.pattern}], make sure you have checked out the target repository`); } const matchedKey = yield cache.restoreCache(packageManager.path, primaryKey, [ `${CACHE_KEY_PREFIX}-${process.env['RUNNER_OS']}-${id}` ]); // No "restoreKeys" is set, to start with a clear cache after dependency update (see https://github.com/actions/setup-java/issues/269) const matchedKey = yield cache.restoreCache(packageManager.path, primaryKey); if (matchedKey) { core.saveState(CACHE_MATCHED_KEY, matchedKey); core.setOutput('cache-hit', matchedKey === primaryKey);
src/cache.ts +2 −3 Changes for src/cache.ts: 2 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -91,9 +91,8 @@ export async function restore(id: string) { ); } const matchedKey = await cache.restoreCache(packageManager.path, primaryKey, [ `${CACHE_KEY_PREFIX}-${process.env['RUNNER_OS']}-${id}` ]); // No "restoreKeys" is set, to start with a clear cache after dependency update (see https://github.com/actions/setup-java/issues/269) const matchedKey = await cache.restoreCache(packageManager.path, primaryKey); if (matchedKey) { core.saveState(CACHE_MATCHED_KEY, matchedKey); core.setOutput('cache-hit', matchedKey === primaryKey); Loading