mirror of
https://github.com/actions/setup-java.git
synced 2025-07-18 12:38:20 +02:00
generated and pretty files
This commit is contained in:
parent
b0e5cf270d
commit
dc5f78f54d
4 changed files with 16 additions and 9 deletions
|
@ -29,11 +29,14 @@ function run() {
|
|||
const arch = core.getInput('architecture', { required: true });
|
||||
const jdkFile = core.getInput('jdkFile', { required: false }) || '';
|
||||
yield installer.getJava(version, arch, jdkFile);
|
||||
const username = core.getInput('username', { required: false });
|
||||
const password = core.getInput('password', { required: false });
|
||||
yield auth.configAuthentication(username, password);
|
||||
const matchersPath = path.join(__dirname, '..', '.github');
|
||||
console.log(`##[add-matcher]${path.join(matchersPath, 'java.json')}`);
|
||||
const id = core.getInput('id', { required: false });
|
||||
const username = core.getInput('username', { required: false });
|
||||
const password = core.getInput('password', { required: false });
|
||||
if (id && username && password) {
|
||||
yield auth.configAuthentication(id, username, password);
|
||||
}
|
||||
}
|
||||
catch (error) {
|
||||
core.setFailed(error.message);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue