diff --git a/.github/workflows/maven-publish.yaml b/.github/workflows/maven-publish.yaml index 8b14558..b20501a 100644 --- a/.github/workflows/maven-publish.yaml +++ b/.github/workflows/maven-publish.yaml @@ -25,6 +25,8 @@ jobs: server-id: ossrh server-username: MAVEN_USERNAME server-password: MAVEN_PASSWORD + gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} + gpg-passphrase: MAVEN_GPG_PASSPHRASE - name: Build with Maven run: mvn -B package --file pom.xml @@ -37,3 +39,4 @@ jobs: env: MAVEN_USERNAME: ${{ secrets.USERNAME }} MAVEN_PASSWORD: ${{ secrets.PASSWORD }} + MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}