mirror of
https://github.com/actions/setup-java.git
synced 2025-04-21 02:16:45 +00:00
merge master
This commit is contained in:
parent
e8c07a7b43
commit
7ff34c1ddd
6 changed files with 289 additions and 163 deletions
|
@ -11,23 +11,13 @@ async function run() {
|
|||
if (!version) {
|
||||
version = core.getInput(constants.INPUT_JAVA_VERSION, {required: true});
|
||||
}
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
const vendor = core.getInput('vendor', {required: true});
|
||||
const arch = core.getInput(constants.INPUT_ARCHITECTURE, {required: true});
|
||||
const javaPackage = core.getInput(constants.INPUT_JAVA_PACKAGE, {
|
||||
required: true
|
||||
});
|
||||
const jdkFile = core.getInput(constants.INPUT_JDK_FILE, {required: false});
|
||||
=======
|
||||
const distro = core.getInput('vendor', {required: true});
|
||||
=======
|
||||
const distro = core.getInput('distro', {required: true});
|
||||
>>>>>>> fix lint issues
|
||||
const arch = core.getInput('architecture', {required: true});
|
||||
const javaPackage = core.getInput('java-package', {required: true});
|
||||
const jdkFile = core.getInput('jdkFile', {required: false}) || '';
|
||||
>>>>>>> break distro out into separate files
|
||||
|
||||
await installer.getJava(version, distro, arch, jdkFile, javaPackage);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue