Skip to content

Commit

Permalink
fix: Try different args with mvn deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
fabriziodemaria committed Sep 27, 2023
1 parent 23788e4 commit 196d9c6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ jobs:
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
gpg-passphrase: SIGN_KEY_PASSWORD
- name: Publish package
run: mvn --batch-mode deploy
run: |
mvn --batch-mode \
--settings release/m2-settings.xml \
clean deploy
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
Expand Down

0 comments on commit 196d9c6

Please sign in to comment.