mirror of
https://github.com/actions/setup-java.git
synced 2025-11-05 08:50:53 +00:00
Merge 1e0d0b9029 into c5195efecf
This commit is contained in:
commit
e218f9fad3
3 changed files with 10902 additions and 8764 deletions
4736
dist/cleanup/index.js
vendored
4736
dist/cleanup/index.js
vendored
File diff suppressed because one or more lines are too long
14736
dist/setup/index.js
vendored
14736
dist/setup/index.js
vendored
File diff suppressed because one or more lines are too long
|
|
@ -8,7 +8,6 @@ import {
|
|||
convertVersionToSemver,
|
||||
extractJdkFile,
|
||||
getDownloadArchiveExtension,
|
||||
getGitHubHttpHeaders,
|
||||
isVersionSatisfies,
|
||||
renameWinArchive
|
||||
} from '../../util';
|
||||
|
|
@ -64,13 +63,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',
|
||||
getGitHubHttpHeaders()
|
||||
'https://sap.github.io/SapMachine/assets/data/sapmachine-releases-all.json'
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue