diff --git a/.github/workflows/maven-deploy.yml b/.github/workflows/maven-deploy.yml index c54d15e..d302e8f 100644 --- a/.github/workflows/maven-deploy.yml +++ b/.github/workflows/maven-deploy.yml @@ -25,7 +25,7 @@ jobs: run: mvn versions:set "-DnewVersion=${{ github.event.inputs.releaseversion }}" - name: Publish package - run: mvn --batch-mode clean deploy -P mavenCentral -DskipTests=true + run: mvn --batch-mode clean deploy -P mavenCentral -DskipTests=true -Dgpg.passphrase=${{ secrets.GPG_SIGNING_PASSPHRASE }} env: GPG_PASSPHRASE: ${{ secrets.GPG_SIGNING_PASSPHRASE }} MAVEN_USERNAME: ${{ secrets.OSS_SONATYPE_USERNAME }}