mirror of
https://github.com/actions/setup-java.git
synced 2025-04-20 18:06:45 +00:00
fixed configAuthentication invokation
This commit is contained in:
parent
01f7e3b3fd
commit
e09c5c7b0c
2 changed files with 6 additions and 6 deletions
|
@ -26,17 +26,17 @@ async function run() {
|
|||
core.getInput('server-username', {required: false}) || undefined;
|
||||
const password =
|
||||
core.getInput('server-password', {required: false}) || undefined;
|
||||
const gpgPassphrase =
|
||||
core.getInput('gpg-passphrase', {required: false}) || undefined;
|
||||
const gpgPrivateKey =
|
||||
core.getInput('gpg-private-key', {required: false}) || undefined;
|
||||
const gpgPassphrase =
|
||||
core.getInput('gpg-passphrase', {required: false}) || undefined;
|
||||
|
||||
await auth.configAuthentication(
|
||||
id,
|
||||
username,
|
||||
password,
|
||||
gpgPassphrase,
|
||||
gpgPrivateKey
|
||||
gpgPrivateKey,
|
||||
gpgPassphrase
|
||||
);
|
||||
} catch (error) {
|
||||
core.setFailed(error.message);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue