mirror of
https://github.com/actions/setup-node.git
synced 2025-07-22 22:48:22 +02:00
fix
This commit is contained in:
parent
f40797d717
commit
7e57948fe0
3 changed files with 11 additions and 15 deletions
|
@ -193,14 +193,12 @@ export default class OfficialBuilds extends BaseDistribution {
|
|||
}
|
||||
|
||||
protected getDistributionUrl(): string {
|
||||
if (this.nodeInfo.mirrorURL) {
|
||||
return this.nodeInfo.mirrorURL;
|
||||
}
|
||||
return `https://nodejs.org/dist`;
|
||||
}
|
||||
|
||||
protected getDistributionMirrorUrl(): string {
|
||||
const mirrorURL = this.nodeInfo.mirrorURL;
|
||||
|
||||
return mirrorURL ?? '';
|
||||
}
|
||||
|
||||
|
||||
private getManifest(): Promise<tc.IToolRelease[]> {
|
||||
core.debug('Getting manifest from actions/node-versions@main');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue