mirror of
https://github.com/actions/setup-java.git
synced 2025-07-18 12:38:20 +02:00
Add generated auth and setup-java
This commit is contained in:
parent
56eacf97f5
commit
86e89385e5
2 changed files with 29 additions and 17 deletions
|
@ -31,9 +31,7 @@ function run() {
|
|||
yield installer.getJava(version, arch, jdkFile);
|
||||
const username = core.getInput('username', { required: false });
|
||||
const password = core.getInput('password', { required: false });
|
||||
if (username && password) {
|
||||
yield auth.configAuthentication(username, password);
|
||||
}
|
||||
yield auth.configAuthentication(username, password);
|
||||
const matchersPath = path.join(__dirname, '..', '.github');
|
||||
console.log(`##[add-matcher]${path.join(matchersPath, 'java.json')}`);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue