Skip to content

Commit 15cc900

Browse files
committed
server id ossrh
1 parent 1fb8b2a commit 15cc900

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/maven-publish.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,13 @@ jobs:
1313
with:
1414
distribution: temurin
1515
java-version: 8
16-
server-id: sonatype-nexus-staging
16+
server-id: ossrh
1717
server-username: 'OSSRH_USER'
1818
server-password: 'OSSRH_PASSWORD'
1919
gpg-passphrase: 'MAVEN_GPG_PASSPHRASE'
2020
gpg-private-key: ${{ secrets.GPG_SECRET }}
21+
- name: debug settings.xml
22+
run: cat /home/runner/.m2/settings.xml
2123
- name: Publish to Maven Central Repo
2224
run: mvn clean deploy --batch-mode --activate-profiles deploy
2325
env:

0 commit comments

Comments
 (0)