Skip to content

Commit 12335f1

Browse files
committed
ci: update maven command
1 parent f424c18 commit 12335f1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ jobs:
2121
- name: Build with Maven
2222
env:
2323
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
24-
run: mvn --batch-mode --update-snapshots package
24+
run: mvn -B -ntp package

.github/workflows/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
1919
gpg-passphrase: MAVEN_GPG_PASSPHRASE
2020
- name: Publish package
21-
run: mvn --batch-mode deploy
21+
run: mvn -B -ntp deploy
2222
env:
2323
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
2424
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}

0 commit comments

Comments
 (0)