Skip to content

Commit

Permalink
build with maven also requires our gpg pass
Browse files Browse the repository at this point in the history
  • Loading branch information
dekm committed Mar 26, 2024
1 parent 18777ad commit 6a93406
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ name: Maven Release Package
on:
release:
types: [created]

# Add the workflow_dispatch event to enable manual triggering
workflow_dispatch:

jobs:
Expand All @@ -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
Expand Down

0 comments on commit 6a93406

Please sign in to comment.