Skip to content

Commit 8c9b14a

Browse files
committed
Update Maven Central credentials to use GitHub secrets
1 parent f81ef2c commit 8c9b14a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/publish-maven.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ jobs:
4949
java-version: "17"
5050
distribution: "temurin"
5151
server-id: central
52-
server-username: MAVEN_USERNAME
53-
server-password: MAVEN_PASSWORD
52+
server-username: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
53+
server-password: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
5454
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
55-
gpg-passphrase: MAVEN_GPG_PASSPHRASE
55+
g-passphrase: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
5656

5757
- name: Set version in pom.xml
5858
if: ${{ github.event.inputs.version != '' }}

0 commit comments

Comments
 (0)