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 committed 2019-11-28 13:35:47 -08:00
1 parent 56b5af70cf
commit 56eacf97f5
3 files changed
+59 -25

No files matched your search

+1 -3
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')}`);