Skip to content

Commit 9a03ebd

Browse files
committed
run build
1 parent 45e544a commit 9a03ebd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

dist/setup/index.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62591,6 +62591,12 @@ function queryDistForMatch(versionSpec, arch = os.arch()) {
6259162591
}
6259262592
let versions = [];
6259362593
let nodeVersions = yield getVersionsFromDist();
62594+
if (versionSpec === 'current' ||
62595+
versionSpec === 'latest' ||
62596+
versionSpec === 'node') {
62597+
core.info(`getting latest node version...`);
62598+
return nodeVersions[0].version;
62599+
}
6259462600
nodeVersions.forEach((nodeVersion) => {
6259562601
// ensure this version supports your os and platform
6259662602
if (nodeVersion.files.indexOf(dataFileName) >= 0) {

0 commit comments

Comments
 (0)