mirror of
https://github.com/actions/setup-java.git
synced 2025-04-20 18:06:45 +00:00
Added distro parameter and make use of disco api
This commit is contained in:
parent
fc62ccaa4f
commit
efa74dc471
7 changed files with 6561 additions and 186 deletions
15
dist/cleanup/index.js
vendored
15
dist/cleanup/index.js
vendored
|
@ -1021,6 +1021,7 @@ exports.INPUT_JAVA_VERSION = 'java-version';
|
|||
exports.INPUT_ARCHITECTURE = 'architecture';
|
||||
exports.INPUT_JAVA_PACKAGE = 'java-package';
|
||||
exports.INPUT_JDK_FILE = 'jdkFile';
|
||||
exports.INPUT_DISTRO = 'distro';
|
||||
exports.INPUT_SERVER_ID = 'server-id';
|
||||
exports.INPUT_SERVER_USERNAME = 'server-username';
|
||||
exports.INPUT_SERVER_PASSWORD = 'server-password';
|
||||
|
@ -1030,6 +1031,20 @@ 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.PACKAGES_PATH = '/disco/v1.0/packages';
|
||||
exports.EPHEMERAL_IDS_PATH = '/disco/v1.0/ephemeral_ids';
|
||||
exports.DISTROS = [
|
||||
'aoj',
|
||||
'aoj_openj9',
|
||||
'corretto',
|
||||
'dragonwell',
|
||||
'liberica',
|
||||
'ojdk_build',
|
||||
'oracle_open_jdk',
|
||||
'sap_machine',
|
||||
'zulu'
|
||||
];
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue