move required parameters to auth module

username and password are required from within the auth module now.  Update the tests to ensure this is the case.
This commit is contained in:
Bryan Clark 2019-11-20 10:25:21 -08:00
parent 56b5af70cf
commit 56eacf97f5
3 changed files with 59 additions and 25 deletions

View file

@ -18,9 +18,7 @@ async function run() {
const username = core.getInput('username', {required: false});
const password = core.getInput('password', {required: false});
if (username && password) {
await auth.configAuthentication(username, password);
}
await auth.configAuthentication(username, password);
const matchersPath = path.join(__dirname, '..', '.github');
console.log(`##[add-matcher]${path.join(matchersPath, 'java.json')}`);