diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index 326dad2..3e88887 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -27,6 +27,9 @@ jobs: server-id: github # Value of the distributionManagement/repository/id field of the pom.xml settings-path: ${{ github.workspace }} # location for the settings.xml file + - name: Setup dependencies + run: mvn -B clean --file pom.xml + - name: Build with Maven run: mvn -B package --file pom.xml