mirror of
https://github.com/actions/setup-java.git
synced 2024-11-12 04:48:03 +00:00
removed unecessary set secret -- it's an environment variable not a literal
This commit is contained in:
parent
034b7a7488
commit
2d0e474aa9
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 New Issue
Block a user