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.
1 parent 0d02d39 commit 55c4ec0Copy full SHA for 55c4ec0
.github/workflows/publish.yml
@@ -16,17 +16,8 @@ jobs:
16
server-id: ossrh
17
server-username: MAVEN_USERNAME
18
server-password: MAVEN_PASSWORD
19
- overwrite-settings: true
+ - name: Publish package
20
+ run: mvn -Drevision=${{ github.event.release.tag_name }} --batch-mode deploy
21
env:
22
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
- MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
23
- - uses: s4u/[email protected]
24
- with:
25
- servers: |
26
- [{
27
- "id": "ossrh",
28
- "username": "${{ secrets.OSSRH_USERNAME }}",
29
- "password": "${{ secrets.OSSRH_TOKEN }}"
30
- }]
31
- - name: Publish package
32
- run: mvn -Drevision=${{ github.event.release.tag_name }} --batch-mode deploy
+ MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
0 commit comments