From 49def092fdb4dcb634ab0e0cac6916a862b6418a Mon Sep 17 00:00:00 2001 From: Aparna Jyothi Date: Thu, 12 Sep 2024 11:55:45 +0530 Subject: [PATCH] updated build code --- dist/setup/index.js | 1 - src/cache-restore.ts | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/dist/setup/index.js b/dist/setup/index.js index f84341d3..2e3e552a 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -93311,7 +93311,6 @@ const restoreCache = (packageManager, cacheDependencyPath) => __awaiter(void 0, throw new Error(`Caching for '${packageManager}' is not supported`); } const platform = process.env.RUNNER_OS; - core.info(`platform runner.os: ${platform}`); const cachePaths = yield (0, cache_utils_1.getCacheDirectories)(packageManagerInfo, cacheDependencyPath); core.saveState(constants_1.State.CachePaths, cachePaths); const lockFilePath = cacheDependencyPath diff --git a/src/cache-restore.ts b/src/cache-restore.ts index 14fe3ed1..4ce2a6e7 100644 --- a/src/cache-restore.ts +++ b/src/cache-restore.ts @@ -21,7 +21,7 @@ export const restoreCache = async ( throw new Error(`Caching for '${packageManager}' is not supported`); } const platform = process.env.RUNNER_OS; - core.info(`platform runner.os: ${platform}`); + const cachePaths = await getCacheDirectories( packageManagerInfo, cacheDependencyPath