Skip to content

Commit 0e057e8

Browse files
Update publishing to Maven central. (#587)
1 parent e951050 commit 0e057e8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/maven-and-native.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -398,8 +398,8 @@ jobs:
398398
- name: Release to Maven Central
399399
if: github.ref == 'refs/heads/master'
400400
env:
401-
SONATYPE_USER: ${{ secrets.SONATYPE_USER }}
402-
SONATYPE_PW: ${{ secrets.SONATYPE_PW }}
401+
SONATYPE_USER: ${{ secrets.SONATYPE_USER_2 }}
402+
SONATYPE_PW: ${{ secrets.SONATYPE_PW_2 }}
403403
run: |
404404
cat <(echo -e "${{ secrets.GPG_KEY }}") | gpg --batch --import
405405
gpg --list-secret-keys --keyid-format LONG

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@
266266
<extensions>true</extensions>
267267
<configuration>
268268
<serverId>ossrh</serverId>
269-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
269+
<nexusUrl>https://ossrh-staging-api.central.sonatype.com/</nexusUrl>
270270
<autoReleaseAfterClose>true</autoReleaseAfterClose>
271271
</configuration>
272272
</plugin>

0 commit comments

Comments
 (0)