Loading dist/setup/index.js +3 −2 Changes for dist/setup/index.js: 3 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -28628,8 +28628,6 @@ const DEFAULT_GPG_PASSPHRASE = 'GPG_PASSPHRASE'; function run() { return __awaiter(this, void 0, void 0, function* () { try { // Set secrets before use core.setSecret('gpg-private-key'); let version = core.getInput('version'); if (!version) { version = core.getInput('java-version', { required: true }); Loading @@ -28647,6 +28645,9 @@ function run() { DEFAULT_GPG_PRIVATE_KEY; const gpgPassphrase = core.getInput('gpg-passphrase', { required: false }) || (gpgPrivateKey ? DEFAULT_GPG_PASSPHRASE : undefined); if (gpgPrivateKey) { core.setSecret(gpgPrivateKey); } yield auth.configAuthentication(id, username, password, gpgPassphrase); if (gpgPrivateKey) { console.log('importing private key'); src/setup-java.ts +4 −3 Changes for src/setup-java.ts: 4 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -12,9 +12,6 @@ const DEFAULT_GPG_PASSPHRASE = 'GPG_PASSPHRASE'; async function run() { try { // Set secrets before use core.setSecret('gpg-private-key'); let version = core.getInput('version'); if (!version) { version = core.getInput('java-version', {required: true}); Loading @@ -40,6 +37,10 @@ async function run() { core.getInput('gpg-passphrase', {required: false}) || (gpgPrivateKey ? DEFAULT_GPG_PASSPHRASE : undefined); if (gpgPrivateKey) { core.setSecret(gpgPrivateKey); } await auth.configAuthentication(id, username, password, gpgPassphrase); if (gpgPrivateKey) { Loading Loading
dist/setup/index.js +3 −2 Changes for dist/setup/index.js: 3 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -28628,8 +28628,6 @@ const DEFAULT_GPG_PASSPHRASE = 'GPG_PASSPHRASE'; function run() { return __awaiter(this, void 0, void 0, function* () { try { // Set secrets before use core.setSecret('gpg-private-key'); let version = core.getInput('version'); if (!version) { version = core.getInput('java-version', { required: true }); Loading @@ -28647,6 +28645,9 @@ function run() { DEFAULT_GPG_PRIVATE_KEY; const gpgPassphrase = core.getInput('gpg-passphrase', { required: false }) || (gpgPrivateKey ? DEFAULT_GPG_PASSPHRASE : undefined); if (gpgPrivateKey) { core.setSecret(gpgPrivateKey); } yield auth.configAuthentication(id, username, password, gpgPassphrase); if (gpgPrivateKey) { console.log('importing private key');
src/setup-java.ts +4 −3 Changes for src/setup-java.ts: 4 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -12,9 +12,6 @@ const DEFAULT_GPG_PASSPHRASE = 'GPG_PASSPHRASE'; async function run() { try { // Set secrets before use core.setSecret('gpg-private-key'); let version = core.getInput('version'); if (!version) { version = core.getInput('java-version', {required: true}); Loading @@ -40,6 +37,10 @@ async function run() { core.getInput('gpg-passphrase', {required: false}) || (gpgPrivateKey ? DEFAULT_GPG_PASSPHRASE : undefined); if (gpgPrivateKey) { core.setSecret(gpgPrivateKey); } await auth.configAuthentication(id, username, password, gpgPassphrase); if (gpgPrivateKey) { Loading