We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e40994 commit 8227138Copy full SHA for 8227138
src/installer.ts
@@ -147,7 +147,12 @@ export async function getNode(
147
// Install into the local tool cache - node extracts with a root folder that matches the fileName downloaded
148
//
149
core.info('Adding to the cache ...');
150
- toolPath = await tc.cacheDir(extPath, 'node', info.resolvedVersion);
+ toolPath = await tc.cacheDir(
151
+ extPath,
152
+ 'node',
153
+ info.resolvedVersion,
154
+ info.arch
155
+ );
156
core.info('Done');
157
}
158
@@ -364,7 +369,7 @@ async function acquireNodeFromFallbackLocation(
364
369
throw err;
365
370
366
371
367
- let toolPath = await tc.cacheDir(tempDir, 'node', version);
372
+ let toolPath = await tc.cacheDir(tempDir, 'node', version, arch);
368
373
core.addPath(toolPath);
374
return toolPath;
375
0 commit comments