We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45e544a commit 9a03ebdCopy full SHA for 9a03ebd
dist/setup/index.js
@@ -62591,6 +62591,12 @@ function queryDistForMatch(versionSpec, arch = os.arch()) {
62591
}
62592
let versions = [];
62593
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
+ }
62600
nodeVersions.forEach((nodeVersion) => {
62601
// ensure this version supports your os and platform
62602
if (nodeVersion.files.indexOf(dataFileName) >= 0) {
0 commit comments