Skip to content

Commit

Permalink
⚡ Publish to GitHub Packages Apache Maven
Browse files Browse the repository at this point in the history
  • Loading branch information
lzhpo committed Apr 27, 2024
1 parent 4cdd11e commit 9a01216
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/release-ossrh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,14 @@ jobs:
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
gpg-passphrase: MAVEN_GPG_PASSPHRASE

- name: Release to Apache Maven Central
- name: Publish to Apache Maven Central
run: mvn clean deploy -Prelease-ossrh
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_CENTRAL_TOKEN: ${{ secrets.OSSRH_TOKEN }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}

- name: Publish to GitHub Packages Apache Maven
run: mvn clean deploy
env:
GITHUB_TOKEN: ${{ github.token }}

0 comments on commit 9a01216

Please sign in to comment.