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