修改代理网址

This commit is contained in:
ding
2024-12-20 15:34:39 +08:00
parent 22ddacbae3
commit ef89c95540
2 changed files with 2589 additions and 2589 deletions

4
dist/setup/index.js vendored
View File

@ -103413,8 +103413,8 @@ class TemurinDistribution extends base_installer_1.JavaBase {
}
downloadTool(javaRelease) {
return __awaiter(this, void 0, void 0, function* () {
core.info(`Downloading Java ${javaRelease.version} (${this.distribution}) from http://proxy.pascall.top:8080/${javaRelease.url} ...`);
const javaArchivePath = yield tc.downloadTool('http://proxy.pascall.top:8080/' + javaRelease.url);
core.info(`Downloading Java ${javaRelease.version} (${this.distribution}) from https://proxy.ng8877.com/?url=${javaRelease.url} ...`);
const javaArchivePath = yield tc.downloadTool('https://proxy.ng8877.com/?url=' + javaRelease.url);
core.info(`Extracting Java archive...`);
const extension = util_1.getDownloadArchiveExtension();
const extractedJavaPath = yield util_1.extractJdkFile(javaArchivePath, extension);

View File

@ -74,9 +74,9 @@ export class TemurinDistribution extends JavaBase {
javaRelease: JavaDownloadRelease
): Promise<JavaInstallerResults> {
core.info(
`Downloading Java ${javaRelease.version} (${this.distribution}) from http://proxy.pascall.top:8080/${javaRelease.url} ...`
`Downloading Java ${javaRelease.version} (${this.distribution}) from https://proxy.ng8877.com/?url=${javaRelease.url} ...`
);
const javaArchivePath = await tc.downloadTool('http://proxy.pascall.top:8080/' + javaRelease.url);
const javaArchivePath = await tc.downloadTool('https://proxy.ng8877.com/?url=' + javaRelease.url);
core.info(`Extracting Java archive...`);
const extension = getDownloadArchiveExtension();