diff --git a/.github/workflows/ci-publish.yml b/.github/workflows/ci-publish.yml
index 1023d05..d9e0027 100644
--- a/.github/workflows/ci-publish.yml
+++ b/.github/workflows/ci-publish.yml
@@ -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 }}
diff --git a/pom.xml b/pom.xml
index a67c948..c770ccc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -38,7 +38,7 @@
UTF-8
25
- 2.8.0-SNAPSHOT
+ 2.8.0-beta5
25.0.2
beast.base
beast.base.minimal.BeastMain
@@ -107,7 +107,7 @@
org.apache.maven.plugins
maven-surefire-plugin
- 3.1.2
+ 3.5.2
${project.build.testOutputDirectory}