Skip to content

Commit a932019

Browse files
Update release.yml
1 parent 92c8b10 commit a932019

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ jobs:
1616
server-id: central
1717
server-username: MAVEN_USERNAME
1818
server-password: MAVEN_PASSWORD
19-
gpg-private-key: ${{ secrets.GPG_SIGNING_KEY }}
19+
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
2020
gpg-passphrase: MAVEN_GPG_PASSPHRASE
2121
- name: Set version
2222
run: mvn versions:set -DnewVersion=${{ github.event.release.tag_name }}
2323
- name: Publish package
2424
run: mvn -P release --batch-mode deploy -DskipTests
2525
env:
26-
MAVEN_USERNAME: ${{ secrets.DONATYPE_USERNAME }}
26+
MAVEN_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
2727
MAVEN_PASSWORD: ${{ secrets.SONATYPE_KEY }}
2828
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}

0 commit comments

Comments
 (0)