Skip to content

Commit 71337cd

Browse files
authored
Update maven-publish.yml
1 parent 2f076f3 commit 71337cd

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/maven-publish.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,12 @@ jobs:
3131
- name: Publish package
3232
run: mvn --batch-mode deploy
3333
env:
34-
GITHUB_TOKEN: ${{ secrets.GITHUBTOKEN }}
34+
GITHUB_TOKEN: ${{ secrets.GITHUBTOKEN }}
35+
- name: Maven Central Publish
36+
# You may pin to the exact commit or the version.
37+
# uses: zhoujunlin94/auto_deploy_maven_central@d008e8cc182d799a9fd507164f83c54be0b0a858
38+
uses: zhoujunlin94/[email protected]
39+
with:
40+
# GPG_PASSPHRASE
41+
GPG_PASSPHRASE: ${{ secrets.GPGPASSPHRASE }}
42+

0 commit comments

Comments
 (0)