mirror of
https://github.com/actions/setup-go.git
synced 2025-05-04 14:14:34 +00:00
fix cache dir issue
This commit is contained in:
2
dist/index.js
vendored
2
dist/index.js
vendored
@ -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) {
|
||||
|
Reference in New Issue
Block a user