From f8d673dc3be7e6392ec7160ba32e9cf3f077c165 Mon Sep 17 00:00:00 2001 From: HSGamer Date: Wed, 27 Mar 2024 02:06:47 +0700 Subject: [PATCH] Revert "update gpg & fix gpg sign" This reverts commit bb2e52ba3918f9d09aa560573a99084f0dc70c72. --- .github/workflows/maven-release.yml | 7 ++++--- pom.xml | 7 +++++++ 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/maven-release.yml b/.github/workflows/maven-release.yml index 2263150..471bbf0 100644 --- a/.github/workflows/maven-release.yml +++ b/.github/workflows/maven-release.yml @@ -27,14 +27,15 @@ jobs: server-id: central server-username: MAVEN_USERNAME server-password: MAVEN_PASSWORD + gpg-private-key: ${{ secrets.GPG_SECRET_KEY }} + gpg-passphrase: GPG_PASSPHRASE - name: Build with Maven - run: mvn clean deploy -P central -Dgpg.signer=bc + run: mvn clean deploy -P central env: MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }} MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }} - MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} - MAVEN_GPG_KEY: ${{ secrets.GPG_SECRET_KEY }} + GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} - name: Generate Javadocs run: mvn javadoc:aggregate-no-fork diff --git a/pom.xml b/pom.xml index d8d0801..c7cbaaf 100644 --- a/pom.xml +++ b/pom.xml @@ -114,6 +114,13 @@ sign + + + + --pinentry-mode + loopback + +