We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d251227 commit 508d26bCopy full SHA for 508d26b
.github/workflows/maven-publish.yml
@@ -22,7 +22,9 @@ jobs:
22
settings-path: ${{ github.workspace }} # location for the settings.xml file
23
24
- name: Build with Maven
25
- run: mvn -B package --file pom.xml
+ run: mvn -B package --file pom.xml -s ${{ github.workspace }}/settings.xml
26
+ env:
27
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28
29
- name: Update version
30
run: mvn versions:set -DnewVersion=${GITHUB_REF:11}
0 commit comments