diff --git a/dist/setup/index.js b/dist/setup/index.js index a0dba7f..f2f3822 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -102688,8 +102688,9 @@ class DragonwellDistribution extends base_installer_1.JavaBase { fetchedDragonwellJson = yield this.fetchJsonFromBackupUrl(); } if (!fetchedDragonwellJson) { - throw new Error(`Couldn't fetch any dragonwell versions from both primary and backup urls`); + throw new Error(`Couldn't fetch dragonwell versions information from both primary and backup urls`); } + core.debug('Successfully fetched information about available dragonwell versions'); const availableVersions = this.parseVersions(platform, arch, fetchedDragonwellJson); if (core.isDebug()) { core.startGroup('Print information about available versions'); @@ -102777,7 +102778,7 @@ class DragonwellDistribution extends base_installer_1.JavaBase { } fetchJsonFromPrimaryUrl() { return __awaiter(this, void 0, void 0, function* () { - const primaryUrl = 'https://dragonwell-jjk.io/map_with_checksum.json'; + const primaryUrl = 'https://dragonwell-jdk.io/map_with_checksum.json'; try { core.debug(`Trying to fetch available versions info from the primary url: ${primaryUrl}`); const fetchedDragonwellJson = (yield this.http.getJson(primaryUrl)).result; diff --git a/src/distributions/dragonwell/installer.ts b/src/distributions/dragonwell/installer.ts index 5bb99bf..184bc28 100644 --- a/src/distributions/dragonwell/installer.ts +++ b/src/distributions/dragonwell/installer.ts @@ -70,10 +70,14 @@ export class DragonwellDistribution extends JavaBase { if (!fetchedDragonwellJson) { throw new Error( - `Couldn't fetch any dragonwell versions from both primary and backup urls` + `Couldn't fetch dragonwell versions information from both primary and backup urls` ); } + core.debug( + 'Successfully fetched information about available dragonwell versions' + ); + const availableVersions = this.parseVersions( platform, arch, @@ -197,7 +201,7 @@ export class DragonwellDistribution extends JavaBase { } private async fetchJsonFromPrimaryUrl(): Promise { - const primaryUrl = 'https://dragonwell-jjk.io/map_with_checksum.json'; + const primaryUrl = 'https://dragonwell-jdk.io/map_with_checksum.json'; try { core.debug( `Trying to fetch available versions info from the primary url: ${primaryUrl}`