Skip to content

Commit 5114414

Browse files
committed
⚗️ Try to simplify publish CI flow
1 parent 44f61e1 commit 5114414

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

.github/workflows/publish-maven-modules.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,11 @@ jobs:
3535
cd replicate-tools
3636
python download_replicate_schemas.py
3737
38-
- name: Run Maven to generate Java models
39-
run: |
40-
mvn -B -ntp clean install
41-
42-
- name: Deploy Maven artifact to GitHub Packages
38+
- name: Run Maven to generate modules & Deploy Maven artifacts to GitHub Packages
4339
env:
4440
VERSION: ${{ github.event.release.tag_name }}
4541
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4642
run: |
47-
mvn -B versions:set -DnewVersion=$VERSION
48-
mvn -B deploy -pl '!replicate-models'
43+
mvn -B -ntp versions:set -DnewVersion=$VERSION
44+
mvn -B -ntp clean install
45+
mvn -B -ntp deploy -pl '!replicate-models'

0 commit comments

Comments
 (0)