3
0
Fork 0
mirror of https://gitea.com/actions/setup-node.git synced 2024-11-22 01:59:32 +01:00

feat: add arch to tc.find

Co-Authored-By: Tyler Ang-Wanek <tylerw@axosoft.com>
This commit is contained in:
Amin Yahyaabadi 2020-09-03 07:20:04 -05:00
parent 6afbfca452
commit bf47decdc2

View file

@ -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) {