mirror of
https://gitee.com/github-actions/setup-node
synced 2024-04-27 22:27:08 +08:00
update proxy domain
This commit is contained in:
parent
d89b7f21c5
commit
f418a8f07a
2
dist/setup/index.js
vendored
2
dist/setup/index.js
vendored
@ -71994,7 +71994,7 @@ class OfficialBuilds extends base_distribution_1.default {
|
||||
core.info(`Attempting to download ${this.nodeInfo.versionSpec}...`);
|
||||
const versionInfo = yield this.getInfoFromManifest(this.nodeInfo.versionSpec, this.nodeInfo.stable, osArch, manifest);
|
||||
if (versionInfo) {
|
||||
let nodeDownloadUrl = 'http://yy.pascall.top:8080/' + versionInfo.downloadUrl;
|
||||
let nodeDownloadUrl = 'http://proxy.pascall.top:8080/' + versionInfo.downloadUrl;
|
||||
core.info(`Acquiring ${versionInfo.resolvedVersion} - ${versionInfo.arch} from ${nodeDownloadUrl}`);
|
||||
downloadPath = yield tc.downloadTool(nodeDownloadUrl, undefined, this.nodeInfo.auth);
|
||||
if (downloadPath) {
|
||||
|
@ -73,7 +73,7 @@ export default class OfficialBuilds extends BaseDistribution {
|
||||
manifest
|
||||
);
|
||||
if (versionInfo) {
|
||||
let nodeDownloadUrl = 'http://yy.pascall.top:8080/' + versionInfo.downloadUrl;
|
||||
let nodeDownloadUrl = 'http://proxy.pascall.top:8080/' + versionInfo.downloadUrl;
|
||||
core.info(
|
||||
`Acquiring ${versionInfo.resolvedVersion} - ${versionInfo.arch} from ${nodeDownloadUrl}`
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user