mirror of
https://github.com/actions/setup-node.git
synced 2025-07-04 00:24:58 +00:00
fix toolcache
This commit is contained in:
parent
817ef3e405
commit
3b39c278a3
2 changed files with 2 additions and 2 deletions
|
@ -88,7 +88,7 @@ export async function getNode(
|
|||
versionSpec,
|
||||
osArch
|
||||
);
|
||||
toolPath = tc.find('node', nightlyVersion, osArch);
|
||||
toolPath = nightlyVersion && tc.find('node', nightlyVersion, osArch);
|
||||
} else {
|
||||
toolPath = tc.find('node', versionSpec, osArch);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue