Skip to content

Commit 655aaee

Browse files
authored
Update maven-publish.yml
1 parent 7f8cdf6 commit 655aaee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/maven-publish.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ jobs:
2626
run: mvn -B package --file pom.xml
2727

2828
- name: Publish to GitHub Packages Apache Maven
29-
run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml
29+
run: mvn --batch-mode deploy -s $GITHUB_WORKSPACE/settings.xml
3030
env:
31-
GITHUB_TOKEN: ${{ github.token }}
31+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)