mirror of
https://github.com/actions/setup-java.git
synced 2025-04-21 18:36:46 +00:00
new build
This commit is contained in:
parent
02522e5e9d
commit
2363249e9f
3 changed files with 10 additions and 8 deletions
10
dist/setup/index.js
vendored
10
dist/setup/index.js
vendored
|
@ -25768,7 +25768,7 @@ exports.INPUT_GPG_PASSPHRASE = 'gpg-passphrase';
|
|||
exports.INPUT_DEFAULT_GPG_PRIVATE_KEY = undefined;
|
||||
exports.INPUT_DEFAULT_GPG_PASSPHRASE = 'GPG_PASSPHRASE';
|
||||
exports.STATE_GPG_PRIVATE_KEY_FINGERPRINT = 'gpg-private-key-fingerprint';
|
||||
exports.DISCO_URL = 'https://api.foojay.io';
|
||||
exports.DISCO_URL = 'https://stage.api.foojay.io';
|
||||
exports.PACKAGES_PATH = '/disco/v1.0/packages';
|
||||
exports.EPHEMERAL_IDS_PATH = '/disco/v1.0/ephemeral_ids';
|
||||
exports.DISTROS = [
|
||||
|
@ -25778,7 +25778,7 @@ exports.DISTROS = [
|
|||
'dragonwell',
|
||||
'liberica',
|
||||
'ojdk_build',
|
||||
'oracle_open_jdk',
|
||||
'oracle_openjdk',
|
||||
'sap_machine',
|
||||
'zulu'
|
||||
];
|
||||
|
@ -33684,7 +33684,7 @@ function getDownloadInfo(refs, version, arch, javaPackage, distro) {
|
|||
distribution = distro.toLowerCase();
|
||||
}
|
||||
else {
|
||||
throw new Error(`distro argument '${distro}' is not in [aoj | aoj_openj9 | corretto | dragonwell | liberica | ojdk_build | oracle_open_jdk | sap_machine | zulu]`);
|
||||
throw new Error(`distro argument '${distro}' is not in [aoj | aoj_openj9 | corretto | dragonwell | liberica | ojdk_build | oracle_openjdk | sap_machine | zulu]`);
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
@ -33734,7 +33734,9 @@ function getDownloadInfo(refs, version, arch, javaPackage, distro) {
|
|||
else {
|
||||
url += '&package_type=' + packageType;
|
||||
}
|
||||
url += '&release_status=ea';
|
||||
if (version.includes('ea')) {
|
||||
url += '&release_status=ea';
|
||||
}
|
||||
url += '&release_status=ga';
|
||||
url += '&architecture=' + architecture;
|
||||
url += '&operating_system=' + operatingSystem;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue