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
  • Loading branch information
aparnajyothi-y committed Jan 31, 2025
commit 4d246d010b022c02afc4f4af35fe1901983a6518
1 change: 0 additions & 1 deletion dist/setup/index.js
Original file line number Diff line number Diff line change
@@ -100457,7 +100457,6 @@ class NightlyNodejs extends base_distribution_prerelease_1.default {
// Check if mirrorUrl exists in the nodeInfo and return it if available
const mirrorUrl = this.nodeInfo.mirrorURL;
if (mirrorUrl) {
core.info(`Downloding Using mirror URL: ${mirrorUrl}`);
return mirrorUrl;
}
// Default to the official Node.js nightly distribution URL if no mirror URL is provided
2 changes: 1 addition & 1 deletion src/distributions/nightly/nightly_builds.ts
Original file line number Diff line number Diff line change
@@ -20,7 +20,7 @@ export default class NightlyNodejs extends BasePrereleaseNodejs {
// Check if mirrorUrl exists in the nodeInfo and return it if available
const mirrorUrl = this.nodeInfo.mirrorURL;
if (mirrorUrl) {
core.info(`Downloding Using mirror URL: ${mirrorUrl}`);

return mirrorUrl;
}

Loading
Oops, something went wrong.