diff --git a/.github/workflows/release-to-maven-central.yml b/.github/workflows/release-to-maven-central.yml index c6b3f4aa..27965e51 100644 --- a/.github/workflows/release-to-maven-central.yml +++ b/.github/workflows/release-to-maven-central.yml @@ -30,6 +30,7 @@ jobs: - name: Build with Maven run: | + mvn -B clean --file pom.xml mvn -B package --file pom.xml -DskipTests=true env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}