mirror of
https://github.com/actions/setup-java.git
synced 2025-06-29 20:44:14 +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
|
@ -22,7 +22,9 @@ async function run() {
|
|||
});
|
||||
const jdkFile = core.getInput(constants.INPUT_JDK_FILE, {required: false});
|
||||
|
||||
await installer.getJava(version, arch, jdkFile, javaPackage);
|
||||
const distro = core.getInput(constants.INPUT_DISTRO, {required: false});
|
||||
|
||||
await installer.getJava(version, arch, jdkFile, javaPackage, distro);
|
||||
|
||||
const matchersPath = path.join(__dirname, '..', '..', '.github');
|
||||
core.info(`##[add-matcher]${path.join(matchersPath, 'java.json')}`);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue