Skip to content

Commit 306fff7

Browse files
committed
Add GPG key
1 parent 9f768d6 commit 306fff7

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/maven-publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
with:
2121
java-version: '11'
2222
distribution: 'temurin'
23+
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
2324
server-id: ossrh
2425
server-username: MAVEN_USERNAME
2526
server-password: MAVEN_PASSWORD
@@ -33,6 +34,7 @@ jobs:
3334
with:
3435
java-version: '11'
3536
distribution: 'temurin'
37+
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
3638
- name: Publish to GitHub Packages
3739
run: mvn --batch-mode deploy
3840
env:

0 commit comments

Comments
 (0)