Skip to content

Commit

Permalink
Test arch key
Browse files Browse the repository at this point in the history
  • Loading branch information
HarithaVattikuti committed Dec 22, 2023
1 parent 225be16 commit d0c471c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dist/setup/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -92568,8 +92568,11 @@ const restoreCache = (packageManager, cacheDependencyPath) => __awaiter(void 0,
}
const platform = process.env.RUNNER_OS;
const arch = process.env.RUNNER_ARCH;
core.debug(`PM info is ${packageManagerInfo}`);
core.debug(`cacheDependencyPath info is ${cacheDependencyPath}`);
const cachePaths = yield (0, cache_utils_1.getCacheDirectories)(packageManagerInfo, cacheDependencyPath);
core.saveState(constants_1.State.CachePaths, cachePaths);
core.debug(`cachePaths info is ${cachePaths}`);
const lockFilePath = cacheDependencyPath
? cacheDependencyPath
: findLockFile(packageManagerInfo);
Expand Down
4 changes: 4 additions & 0 deletions src/cache-restore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,15 @@ export const restoreCache = async (
const platform = process.env.RUNNER_OS;
const arch = process.env.RUNNER_ARCH;

core.debug(`PM info is ${packageManagerInfo}`);
core.debug(`cacheDependencyPath info is ${cacheDependencyPath}`);

const cachePaths = await getCacheDirectories(
packageManagerInfo,
cacheDependencyPath
);
core.saveState(State.CachePaths, cachePaths);
core.debug(`cachePaths info is ${cachePaths}`);
const lockFilePath = cacheDependencyPath
? cacheDependencyPath
: findLockFile(packageManagerInfo);
Expand Down

0 comments on commit d0c471c

Please sign in to comment.