From e09c5c7b0ca64702bcd6a7dc80ae16d7182ca5ba Mon Sep 17 00:00:00 2001 From: Jared Petersen Date: Sat, 2 May 2020 16:39:19 -0700 Subject: [PATCH] fixed configAuthentication invokation --- dist/index.js | Bin 170043 -> 170043 bytes src/setup-java.ts | 8 ++++---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/index.js b/dist/index.js index 02a84d71bbf5ca62852b72d1d8ab0f150e7f4768..de2b10d2298359bf297c8091624a66e14163e1b9 100644 GIT binary patch delta 79 zcmdnJfot~$u7(!IElezt(=#KPVy4GOGI333iDZhNu3y8%HvM!YlbJ+OW?5oMs&{Io jjzW4tdO%`vaY05=VsYwp!3;*x=>=9yT-z<8n3(MVM#dTv delta 69 zcmV-L0J{IXunN1d3V?(Gv;qWKmugu8TbE#20t%M|Spr;_FMI+9m&;iKHVI*Kb8u*K bVRL1d&0zr=mmFvT3YTy?0t&Y{S^@(;MB)}# 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);