From d68174657c071bfbc095d868cd017da8a7bd9537 Mon Sep 17 00:00:00 2001 From: Aparna Jyothi Date: Tue, 6 Aug 2024 11:07:35 +0530 Subject: [PATCH] print runner_os --- dist/setup/index.js | 1 + src/cache-restore.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/dist/setup/index.js b/dist/setup/index.js index 2e3e552a..f84341d3 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -93311,6 +93311,7 @@ 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 3b230970..14fe3ed1 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