mirror of
https://github.com/actions/setup-java.git
synced 2026-10-08 09:33:00 +03:00
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:
1 parent
56b5af70cf
commit
56eacf97f5
3 files changed
+59
-25
No files matched your search
+1
-3
@@ -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')}`);
|
||||
|
||||
Reference in new issue
Block a user