Skip to content

Commit

Permalink
create temp dir on d: & link 2
Browse files Browse the repository at this point in the history
  • Loading branch information
dsame committed Jul 11, 2023
1 parent 19671de commit bda9c88
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/setup/index.js
Expand Up @@ -61469,7 +61469,7 @@ function installGoVersion(info, auth, arch) {
fs_1.default.symlinkSync(lnkDest, lnkSrc, 'junction');
core.info(`Created link ${lnkSrc} => ${lnkDest}`);
process.env['RUNNER_TOOL_CACHE'] = oldCacheDir;
return cachedDir;
return cachedDir.replace(tempCacheDir, oldCacheDir);
});
}
function extractGoArchive(archivePath) {
Expand Down
2 changes: 1 addition & 1 deletion src/installer.ts
Expand Up @@ -205,7 +205,7 @@ async function installGoVersion(
fs.symlinkSync(lnkDest, lnkSrc, 'junction')
core.info(`Created link ${lnkSrc} => ${lnkDest}`);
process.env['RUNNER_TOOL_CACHE'] = oldCacheDir;
return cachedDir;
return cachedDir.replace(tempCacheDir, oldCacheDir);
}

export async function extractGoArchive(archivePath: string): Promise<string> {
Expand Down

0 comments on commit bda9c88

Please sign in to comment.