Skip to content

Commit

Permalink
update: maven-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
matheuslenke committed Dec 20, 2024
1 parent 2cf170b commit ffc887f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ jobs:
</settings>
EOF
- name: Publish to Maven Central
run: |
mvn -B -DskipTests -Dgpg.passphrase="${{ secrets.GPG_PASS }}" release:clean release:prepare release:perform -Possrh
- name: Publish package
run: mvn --batch-mode deploy
env:
GPG_TTY: $(tty)
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}

0 comments on commit ffc887f

Please sign in to comment.