Skip to content

Commit

Permalink
Fixed publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Duckelekuuk committed Aug 29, 2023
1 parent 0d02d39 commit 55c4ec0
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,8 @@ jobs:
server-id: ossrh
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
overwrite-settings: true
- name: Publish package
run: mvn -Drevision=${{ github.event.release.tag_name }} --batch-mode deploy
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
- uses: s4u/[email protected]
with:
servers: |
[{
"id": "ossrh",
"username": "${{ secrets.OSSRH_USERNAME }}",
"password": "${{ secrets.OSSRH_TOKEN }}"
}]
- name: Publish package
run: mvn -Drevision=${{ github.event.release.tag_name }} --batch-mode deploy
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}

0 comments on commit 55c4ec0

Please sign in to comment.