mirror of
https://github.com/actions/setup-java
synced 2024-12-22 21:22:41 +00:00
removed unecessary set secret -- it's an environment variable not a literal
This commit is contained in:
parent
034b7a7488
commit
2d0e474aa9
2 changed files with 0 additions and 7 deletions
3
dist/setup/index.js
vendored
3
dist/setup/index.js
vendored
|
@ -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');
|
||||
|
|
|
@ -40,10 +40,6 @@ async function run() {
|
|||
core.setSecret(gpgPrivateKey);
|
||||
}
|
||||
|
||||
if (gpgPassphrase) {
|
||||
core.setSecret(gpgPassphrase);
|
||||
}
|
||||
|
||||
await auth.configAuthentication(id, username, password, gpgPassphrase);
|
||||
|
||||
if (gpgPrivateKey) {
|
||||
|
|
Loading…
Reference in a new issue