Skip to content

Commit edb3002

Browse files
authored
Update maven-publish.yml
1 parent be8db46 commit edb3002

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/maven-publish.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,11 @@ jobs:
1818
java-version: '17'
1919
distribution: 'temurin'
2020
server-id: central
21-
server-username: MAVEN_USERNAME
22-
server-password: MAVEN_PASSWORD
21+
server-username: ${{ secrets.MAVEN_USERNAME }}
22+
server-password: ${{ secrets.MAVEN_PASSWORD }}
2323
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
24-
gpg-passphrase: MAVEN_GPG_PASSPHRASE
24+
gpg-passphrase: ${{ secrets.GPG_PASSPHRASE }}
25+
2526

2627
- name: Publish to Maven Central
2728
run: mvn clean deploy -DperformRelease=true

0 commit comments

Comments
 (0)