Support ids

This commit is contained in:
Bryan Clark committed 2019-11-28 13:35:47 -08:00
1 parent 1b0417032a
commit b0e5cf270d
3 files changed
+19 -11

No files matched your search

+3 -2
View File
@@ -18,11 +18,12 @@ async function run() {
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 (username && password) {
await auth.configAuthentication(username, password);
if (id && username && password) {
await auth.configAuthentication(id, username, password);
}
} catch (error) {