Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/ci-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,12 @@ jobs:
mvn versions:set -DnewVersion=$VERSION -DgenerateBackupPoms=false

- name: Build and test
if: "!startsWith(github.ref, 'refs/tags/v')"
run: mvn verify

- name: Publish to Maven Central
if: startsWith(github.ref, 'refs/tags/v')
run: mvn deploy -Prelease -DskipTests
run: mvn -Prelease clean deploy
env:
CENTRAL_USERNAME: ${{ secrets.CENTRAL_USERNAME }}
CENTRAL_TOKEN: ${{ secrets.CENTRAL_TOKEN }}
Expand Down
Loading