Skip to content

Commit b8c7dee

Browse files
committed
Runs package deploy in batch mode
1 parent 88b1e9f commit b8c7dee

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/publish-package.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ jobs:
2525
server-password: MAVEN_PASSWORD
2626

2727
- name: Build with Maven
28-
run: mvn -B package --file pom.xml
28+
run: mvn --batch-mode package --file pom.xml
2929

30-
- name: Publish to Apache Maven Central
31-
run: mvn deploy
30+
- name: Publish to Maven Central Repository
31+
run: mvn --batch-mode deploy
3232
env:
3333
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
3434
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}

0 commit comments

Comments
 (0)