Skip to content

Commit e8c1b47

Browse files
committed
🔧 Add Maven switches for better CI behavior
1 parent a3b2f47 commit e8c1b47

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/publish-replicate-models.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,13 @@ jobs:
4545
- name: Run Maven to generate Java models
4646
run: |
4747
cd replicate-models
48-
mvn clean install
48+
mvn -B -ntp clean install
4949
5050
- name: Deploy Maven artifact to GitHub Packages
5151
env:
5252
VERSION: ${{ github.event.release.tag_name }}-${{ matrix.version.name }}
5353
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5454
run: |
5555
cd replicate-models
56-
mvn versions:set -DnewVersion=$VERSION
57-
mvn deploy
56+
mvn -B versions:set -DnewVersion=$VERSION
57+
mvn -B deploy

0 commit comments

Comments
 (0)