Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add mirror-url parameter to allow downloading Node.js from a custom URL #1211

Closed
wants to merge 26 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
print statements
  • Loading branch information
aparnajyothi-y committed Jan 30, 2025
commit b587ad80d99294a529cc34219b7e78e27d111d5c
1 change: 1 addition & 0 deletions dist/setup/index.js
Original file line number Diff line number Diff line change
@@ -100670,6 +100670,7 @@ class OfficialBuilds extends base_distribution_1.default {
const versions = this.filterVersions(nodeJsVersions);
core.info('versions' + versions);
const evaluatedVersion = this.evaluateVersions(versions);
core.info('eversions' + evaluatedVersion);
if (this.nodeInfo.checkLatest) {
const evaluatedVersion = yield this.findVersionInDist(nodeJsVersions);
this.nodeInfo.versionSpec = evaluatedVersion;
4 changes: 2 additions & 2 deletions src/distributions/official_builds/official_builds.ts
Original file line number Diff line number Diff line change
@@ -320,12 +320,12 @@ export default class OfficialBuilds extends BaseDistribution {
core.info('versions'+versions);

const evaluatedVersion = this.evaluateVersions(versions);

core.info('eversions'+evaluatedVersion);
if (this.nodeInfo.checkLatest) {
const evaluatedVersion = await this.findVersionInDist(nodeJsVersions);
this.nodeInfo.versionSpec = evaluatedVersion;
core.info('versionSpec'+this.nodeInfo.versionSpec);

}

if (!evaluatedVersion) {