mirror of
https://github.com/actions/setup-java.git
synced 2025-11-05 22:33:46 +00:00
Update SapMachine URLs
This commit is contained in:
parent
ead9eaa3cf
commit
cda5f65d41
@ -64,12 +64,12 @@ export class SapMachineDistribution extends JavaBase {
|
||||
const arch = this.distributionArchitecture();
|
||||
|
||||
let fetchedReleasesJson = await this.fetchReleasesFromUrl(
|
||||
'https://sap.github.io/SapMachine/assets/data/sapmachine-releases-all.json'
|
||||
'https://sapmachine.io/assets/data/sapmachine-releases-all.json'
|
||||
);
|
||||
|
||||
if (!fetchedReleasesJson) {
|
||||
fetchedReleasesJson = await this.fetchReleasesFromUrl(
|
||||
'https://api.github.com/repos/SAP/SapMachine/contents/assets/data/sapmachine-releases-all.json?ref=gh-pages',
|
||||
'https://sap.github.io/SapMachine/assets/data/sapmachine-releases-all.json',
|
||||
getGitHubHttpHeaders()
|
||||
);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user