Skip to content

Commit

Permalink
server id ossrh
Browse files Browse the repository at this point in the history
  • Loading branch information
DQinYuan committed May 2, 2024
1 parent 1fb8b2a commit 15cc900
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@ jobs:
with:
distribution: temurin
java-version: 8
server-id: sonatype-nexus-staging
server-id: ossrh
server-username: 'OSSRH_USER'
server-password: 'OSSRH_PASSWORD'
gpg-passphrase: 'MAVEN_GPG_PASSPHRASE'
gpg-private-key: ${{ secrets.GPG_SECRET }}
- name: debug settings.xml
run: cat /home/runner/.m2/settings.xml
- name: Publish to Maven Central Repo
run: mvn clean deploy --batch-mode --activate-profiles deploy
env:
Expand Down

0 comments on commit 15cc900

Please sign in to comment.