diff --git a/dist/index.js b/dist/index.js index 02a84d71..de2b10d2 100644 Binary files a/dist/index.js and b/dist/index.js differ diff --git a/src/setup-java.ts b/src/setup-java.ts index df53a756..d5eb18ab 100644 --- a/src/setup-java.ts +++ b/src/setup-java.ts @@ -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);