diff --git a/dist/setup/index.js b/dist/setup/index.js index e8297c2f..3b870134 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -131522,7 +131522,7 @@ class SapMachineDistribution extends base_installer_1.JavaBase { const arch = this.distributionArchitecture(); let fetchedReleasesJson = yield this.fetchReleasesFromUrl('https://sapmachine.io/assets/data/sapmachine-releases-all.json'); if (!fetchedReleasesJson) { - fetchedReleasesJson = yield this.fetchReleasesFromUrl('https://sap.github.io/SapMachine/assets/data/sapmachine-releases-all.json', (0, util_1.getGitHubHttpHeaders)()); + fetchedReleasesJson = yield this.fetchReleasesFromUrl('https://sap.github.io/SapMachine/assets/data/sapmachine-releases-all.json'); } if (!fetchedReleasesJson) { throw new Error(`Couldn't fetch SapMachine versions information from both primary and backup urls`); diff --git a/src/distributions/sapmachine/installer.ts b/src/distributions/sapmachine/installer.ts index f55fe413..6f42c5ee 100644 --- a/src/distributions/sapmachine/installer.ts +++ b/src/distributions/sapmachine/installer.ts @@ -69,8 +69,7 @@ export class SapMachineDistribution extends JavaBase { if (!fetchedReleasesJson) { fetchedReleasesJson = await this.fetchReleasesFromUrl( - 'https://sap.github.io/SapMachine/assets/data/sapmachine-releases-all.json', - getGitHubHttpHeaders() + 'https://backup.sapmachine.io/assets/data/sapmachine-releases-all.json' ); }