We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c629390 + 3d28350 commit 84daddaCopy full SHA for 84dadda
.github/workflows/publish.yml
@@ -34,11 +34,13 @@ jobs:
34
- name: Run Tests
35
run: mvn test
36
37
- - name: Publish package
38
- run: mvn -B deploy
39
- env:
40
- MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
41
- MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
+ - name: Release Maven package
+ uses: samuelmeuli/action-maven-publish@v1
+ with:
+ gpg_private_key: ${{ secrets.gpg_private_key }}
+ gpg_passphrase: ${{ secrets.gpg_passphrase }}
42
+ nexus_username: ${{ secrets.nexus_username }}
43
+ nexus_password: ${{ secrets.nexus_password }}
44
45
- name: Notify slack success
46
if: success()
@@ -50,7 +52,7 @@ jobs:
50
52
channel: github-actions
51
53
status: SUCCESS
54
color: good
-
55
+
56
- name: Notify slack fail
57
if: failure()
58
env:
0 commit comments