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 + +