feat: add arch to tc.find
Co-Authored-By: Tyler Ang-Wanek <[email protected]>
This commit is contained in:
co-authored by
Tyler Ang-Wanek
parent
6afbfca452
commit
bf47decdc2
+1
-1
@@ -52,7 +52,7 @@ export async function getNode(
|
|||||||
|
|
||||||
// check cache
|
// check cache
|
||||||
let toolPath: string;
|
let toolPath: string;
|
||||||
toolPath = tc.find('node', versionSpec);
|
toolPath = tc.find('node', versionSpec, osArch);
|
||||||
|
|
||||||
// If not found in cache, download
|
// If not found in cache, download
|
||||||
if (toolPath) {
|
if (toolPath) {
|
||||||
|
|||||||
Reference in New Issue
Block a user