Skip to content

Commit 508d26b

Browse files
committed
Update maven-publish.yml
1 parent d251227 commit 508d26b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/maven-publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ jobs:
2222
settings-path: ${{ github.workspace }} # location for the settings.xml file
2323

2424
- name: Build with Maven
25-
run: mvn -B package --file pom.xml
25+
run: mvn -B package --file pom.xml -s ${{ github.workspace }}/settings.xml
26+
env:
27+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2628

2729
- name: Update version
2830
run: mvn versions:set -DnewVersion=${GITHUB_REF:11}

0 commit comments

Comments
 (0)