mirror of
https://github.com/actions/setup-node.git
synced 2024-11-26 19:39:25 +08:00
print runner_os
This commit is contained in:
parent
26961cf329
commit
d68174657c
1
dist/setup/index.js
vendored
1
dist/setup/index.js
vendored
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user