mirror of
https://github.com/actions/setup-go.git
synced 2025-06-22 21:17:59 +02:00
fix cache dir issue
This commit is contained in:
@ -33,7 +33,7 @@ export async function downloadGo(
|
||||
|
||||
// extracts with a root folder that matches the fileName downloaded
|
||||
const toolRoot = path.join(extPath, 'go');
|
||||
toolPath = await tc.cacheDir(toolRoot, 'go', versionSpec);
|
||||
toolPath = await tc.cacheDir(toolRoot, 'go', match.version);
|
||||
}
|
||||
} catch (error) {
|
||||
throw new Error(`Failed to download version ${versionSpec}: ${error}`);
|
||||
|
Reference in New Issue
Block a user