Skip to content

Commit 55c4ec0

Browse files
committed
Fixed publish workflow
1 parent 0d02d39 commit 55c4ec0

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,8 @@ jobs:
1616
server-id: ossrh
1717
server-username: MAVEN_USERNAME
1818
server-password: MAVEN_PASSWORD
19-
overwrite-settings: true
19+
- name: Publish package
20+
run: mvn -Drevision=${{ github.event.release.tag_name }} --batch-mode deploy
2021
env:
2122
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
22-
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
23+
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}

0 commit comments

Comments
 (0)