mirror of
https://github.com/actions/setup-java.git
synced 2026-03-26 05:40:41 +00:00
Compare commits
2 Commits
33c3b99683
...
875681c705
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
875681c705 | ||
|
|
f36eaff1c9 |
2
dist/setup/index.js
vendored
2
dist/setup/index.js
vendored
@ -130422,7 +130422,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`);
|
||||
|
||||
@ -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://sap.github.io/SapMachine/assets/data/sapmachine-releases-all.json'
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user