mirror of
https://github.com/actions/setup-java.git
synced 2024-11-29 20:01:04 -05: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) {
|
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');
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue