removed unecessary set secret -- it's an environment variable not a literal

This commit is contained in:
Jared Petersen 2020-07-15 20:26:09 -06:00
parent 034b7a7488
commit 2d0e474aa9
2 changed files with 0 additions and 7 deletions

3
dist/setup/index.js vendored
View file

@ -28706,9 +28706,6 @@ function run() {
if (gpgPrivateKey) { if (gpgPrivateKey) {
core.setSecret(gpgPrivateKey); core.setSecret(gpgPrivateKey);
} }
if (gpgPassphrase) {
core.setSecret(gpgPassphrase);
}
yield auth.configAuthentication(id, username, password, gpgPassphrase); yield auth.configAuthentication(id, username, password, gpgPassphrase);
if (gpgPrivateKey) { if (gpgPrivateKey) {
core.info('importing private key'); core.info('importing private key');

View file

@ -40,10 +40,6 @@ async function run() {
core.setSecret(gpgPrivateKey); core.setSecret(gpgPrivateKey);
} }
if (gpgPassphrase) {
core.setSecret(gpgPassphrase);
}
await auth.configAuthentication(id, username, password, gpgPassphrase); await auth.configAuthentication(id, username, password, gpgPassphrase);
if (gpgPrivateKey) { if (gpgPrivateKey) {