From bf47decdc210253204f0b3f54941635c55116f7d Mon Sep 17 00:00:00 2001 From: Amin Yahyaabadi Date: Thu, 3 Sep 2020 07:20:04 -0500 Subject: [PATCH] feat: add arch to tc.find Co-Authored-By: Tyler Ang-Wanek --- src/installer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/installer.ts b/src/installer.ts index 1f2731c..8d0f3d7 100644 --- a/src/installer.ts +++ b/src/installer.ts @@ -52,7 +52,7 @@ export async function getNode( // check cache let toolPath: string; - toolPath = tc.find('node', versionSpec); + toolPath = tc.find('node', versionSpec, osArch); // If not found in cache, download if (toolPath) {