Skip to content

Commit

Permalink
Try again for signing.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Wenger committed Mar 25, 2024
1 parent 3ee5f2c commit b434250
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/Deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
echo "BEARER_TOKEN=${token}" >> $GITHUB_ENV
- name: Build with Maven
run: mvn --batch-mode --update-snapshots package
run: mvn --batch-mode --update-snapshots verify

- name: Update resources
uses: test-room-7/action-update-file@v1
Expand All @@ -53,15 +53,11 @@ jobs:
commit-msg: Commit Pom updated version
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Directly invoke GPG signing
run: mvn gpg:sign -Dgpg.passphrase=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }}

- name: Publish to Maven Central
run: |
mvn --no-transfer-progress --batch-mode deploy -X \
-Dgpg.passphrase=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} \
-DskipTests \
-Prelease \
-Psign-artifacts
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
Expand Down

0 comments on commit b434250

Please sign in to comment.