Skip to content

Commit 6c38a97

Browse files
authored
Update maven-publish-ossrh.yml
1 parent 1fdd60f commit 6c38a97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/maven-publish-ossrh.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ jobs:
1515
with:
1616
java-version: '21'
1717
distribution: 'corretto'
18-
server-id: ossrh # Value of the distributionManagement/repository/id field of the pom.xml
18+
server-id: central # Value of the distributionManagement/repository/id field of the pom.xml
1919
server-username: MAVEN_USERNAME
2020
server-password: MAVEN_PASSWORD
2121
gpg-private-key: ${{ secrets.OSSRH_GPG_SECRET_KEY }}
2222
gpg-passphrase: MAVEN_GPG_PASSPHRASE
23-
- name: Publish to OSSRH
23+
- name: Publish to Central
2424
run: mvn --batch-mode deploy -Prelease
2525
env:
2626
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}

0 commit comments

Comments
 (0)