mirror of
https://github.com/actions/setup-node.git
synced 2025-07-01 23:23:47 +00:00
fix tests and update documentation
This commit is contained in:
parent
2900876013
commit
ca842d5a5e
5 changed files with 50 additions and 91 deletions
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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue