|
|
@ -61447,9 +61447,9 @@ function cacheWindowsDir(extPath, tool, version, arch) {
|
|
|
|
return __awaiter(this, void 0, void 0, function* () {
|
|
|
|
return __awaiter(this, void 0, void 0, function* () {
|
|
|
|
if (os_1.default.platform() !== 'win32')
|
|
|
|
if (os_1.default.platform() !== 'win32')
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
const isHosted = process.env['RUNNER_ENVIRONMENT'] === 'github-hosted' ||
|
|
|
|
// make sure the action runs in the hosted environment
|
|
|
|
process.env['AGENT_ISSELFHOSTED'] === '0';
|
|
|
|
if (process.env['RUNNER_ENVIRONMENT'] !== 'github-hosted' &&
|
|
|
|
if (!isHosted)
|
|
|
|
process.env['AGENT_ISSELFHOSTED'] === '1')
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
const defaultToolCacheRoot = process.env['RUNNER_TOOL_CACHE'];
|
|
|
|
const defaultToolCacheRoot = process.env['RUNNER_TOOL_CACHE'];
|
|
|
|
if (!defaultToolCacheRoot)
|
|
|
|
if (!defaultToolCacheRoot)
|
|
|
|