fix cache dir issue

This commit is contained in:
Bryan MacFarlane
2020-03-26 10:38:51 -04:00
parent 2096a2c66a
commit 655555d319
3 changed files with 8 additions and 3 deletions

2
dist/index.js vendored
View File

@ -4601,7 +4601,7 @@ function downloadGo(versionSpec, stable) {
core_1.debug(`extracted to ${extPath}`);
// extracts with a root folder that matches the fileName downloaded
const toolRoot = path.join(extPath, 'go');
toolPath = yield tc.cacheDir(toolRoot, 'go', versionSpec);
toolPath = yield tc.cacheDir(toolRoot, 'go', match.version);
}
}
catch (error) {