From 6a9340651669001091a71d075be442d3655197af Mon Sep 17 00:00:00 2001 From: dekm Date: Tue, 26 Mar 2024 15:40:16 +0100 Subject: [PATCH] build with maven also requires our gpg pass --- .github/workflows/maven-publish.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index 3608115..9699c4c 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -3,8 +3,6 @@ name: Maven Release Package on: release: types: [created] - - # Add the workflow_dispatch event to enable manual triggering workflow_dispatch: jobs: @@ -26,7 +24,9 @@ jobs: gpg-passphrase: ${{ secrets.GPG_PASSPHRASE }} # Imported from GitHub secrets - name: Build with Maven - run: mvn clean install -B -P release --file pax-sdk/pom.xml + run: mvn clean install -B -P release --settings pax-sdk/settings.xml --file pax-sdk/pom.xml + env: + GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} - name: Sign and Deploy to OSSRH run: mvn deploy -B -P release --settings pax-sdk/settings.xml --file pax-sdk/pom.xml