From 2d0e474aa94cd9a18832ba652eadb48cccb7e006 Mon Sep 17 00:00:00 2001 From: Jared Petersen Date: Wed, 15 Jul 2020 20:26:09 -0600 Subject: [PATCH] removed unecessary set secret -- it's an environment variable not a literal --- dist/setup/index.js | 3 --- src/setup-java.ts | 4 ---- 2 files changed, 7 deletions(-) diff --git a/dist/setup/index.js b/dist/setup/index.js index 0346008..a9ddcdd 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -28706,9 +28706,6 @@ function run() { if (gpgPrivateKey) { core.setSecret(gpgPrivateKey); } - if (gpgPassphrase) { - core.setSecret(gpgPassphrase); - } yield auth.configAuthentication(id, username, password, gpgPassphrase); if (gpgPrivateKey) { core.info('importing private key'); diff --git a/src/setup-java.ts b/src/setup-java.ts index b8db644..90cc17c 100644 --- a/src/setup-java.ts +++ b/src/setup-java.ts @@ -40,10 +40,6 @@ async function run() { core.setSecret(gpgPrivateKey); } - if (gpgPassphrase) { - core.setSecret(gpgPassphrase); - } - await auth.configAuthentication(id, username, password, gpgPassphrase); if (gpgPrivateKey) {