mirror of
https://github.com/actions/setup-node
synced 2024-12-22 21:22:42 +00:00
feat: add arch to tc.find
Co-Authored-By: Tyler Ang-Wanek <tylerw@axosoft.com>
This commit is contained in:
parent
6afbfca452
commit
bf47decdc2
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue