mirror of
https://github.com/actions/setup-node.git
synced 2025-12-14 00:16:35 +08:00
fix tests and update documentation
This commit is contained in:
6
dist/setup/index.js
vendored
6
dist/setup/index.js
vendored
@@ -73489,10 +73489,10 @@ function getNodejsDistUrl(version) {
|
||||
if (version.includes('nightly')) {
|
||||
return 'https://nodejs.org/download/nightly';
|
||||
}
|
||||
else if (!prerelease) {
|
||||
return 'https://nodejs.org/dist';
|
||||
else if (prerelease) {
|
||||
return 'https://nodejs.org/download/rc';
|
||||
}
|
||||
return 'https://nodejs.org/download/rc';
|
||||
return 'https://nodejs.org/dist';
|
||||
}
|
||||
exports.getNodejsDistUrl = getNodejsDistUrl;
|
||||
function queryDistForMatch(versionSpec, arch = os_1.default.arch(), nodeVersions) {
|
||||
|
||||
Reference in New Issue
Block a user