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
error
  • Loading branch information
aparnajyothi-y committed Jan 30, 2025
commit 35af15253e43256deb0410b3cf58221db9698600
1 change: 1 addition & 0 deletions dist/setup/index.js
Original file line number Diff line number Diff line change
@@ -100207,6 +100207,7 @@ class BaseDistribution {
this.osPlat == 'win32') {
return yield this.acquireWindowsNodeFromFallbackLocation(info.resolvedVersion, info.arch);
}
core.error(`Download failed from ${info.downloadUrl}. Please check the URl and try again.`);
throw err;
}
const toolPath = yield this.extractArchive(downloadPath, info, true);
1 change: 1 addition & 0 deletions src/distributions/base-distribution.ts
Original file line number Diff line number Diff line change
@@ -172,6 +172,7 @@ export default abstract class BaseDistribution {
info.arch
);
}
core.error(`Download failed from ${info.downloadUrl}. Please check the URl and try again.`);

throw err;
}