mirror of
https://gitea.com/actions/setup-java.git
synced 2025-11-12 03:26:25 +08:00
Add generated auth and setup-java
This commit is contained in:
@@ -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')}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user