Skip to content

Commit

Permalink
Add support for settings verison in pom
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelkrog committed Oct 20, 2023
1 parent 746b5ed commit 0797de7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 version
run: mvn versions:set -DnewVersion=${{ env.VERSION }}

- name: Build with Maven
run: mvn -B package --file pom.xml

Expand Down

0 comments on commit 0797de7

Please sign in to comment.