From 29d5940e0ebb7c201ecccb4a6c9f5c93718c7e01 Mon Sep 17 00:00:00 2001 From: Angel Borroy <48685308+aborroy@users.noreply.github.com> Date: Wed, 21 Aug 2024 14:57:26 +0200 Subject: [PATCH] Update maven-deploy.yml --- .github/workflows/maven-deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }}