generated and pretty files

This commit is contained in:
Bryan Clark 2019-11-28 12:40:45 -08:00
parent b0e5cf270d
commit dc5f78f54d
4 changed files with 16 additions and 9 deletions

View file

@ -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);