diff --git a/.github/workflows/mavenpublish.yml b/.github/workflows/mavenpublish.yml index e708e9b..a6f8913 100644 --- a/.github/workflows/mavenpublish.yml +++ b/.github/workflows/mavenpublish.yml @@ -21,6 +21,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: Set maven version + run: mvn versions:set -DnewVersion=${GITHUB_REF##*/} + - name: Build with Maven run: mvn -B package -pl validify-core --file pom.xml