Compare commits

..

4 Commits

Author SHA1 Message Date
ef89c95540 修改代理网址 2024-12-20 15:34:39 +08:00
22ddacbae3 update proxy domain 2023-10-23 11:08:08 +08:00
1ff89544d4 update porxy url 2023-08-29 21:04:51 +08:00
487be22239 setup-java 设置github代理 2023-08-05 12:19:34 +08:00
2 changed files with 2589 additions and 2591 deletions

5175
dist/setup/index.js vendored

File diff suppressed because it is too large Load Diff

View File

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