Compare commits

..

No commits in common. "85ef1bce974893891b3c154c222a5898d06eda34" and "65d2f80cdfee7a8315ab86366b29d1bfbf0ff7d7" have entirely different histories.

2 changed files with 3 additions and 2 deletions

2
dist/setup/index.js vendored
View File

@ -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');
fetchedReleasesJson = yield this.fetchReleasesFromUrl('https://sap.github.io/SapMachine/assets/data/sapmachine-releases-all.json', (0, util_1.getGitHubHttpHeaders)());
}
if (!fetchedReleasesJson) {
throw new Error(`Couldn't fetch SapMachine versions information from both primary and backup urls`);

View File

@ -69,7 +69,8 @@ export class SapMachineDistribution extends JavaBase {
if (!fetchedReleasesJson) {
fetchedReleasesJson = await this.fetchReleasesFromUrl(
'https://sap.github.io/SapMachine/assets/data/sapmachine-releases-all.json'
'https://sap.github.io/SapMachine/assets/data/sapmachine-releases-all.json',
getGitHubHttpHeaders()
);
}