Skip to content

Commit

Permalink
Attempt fixing branch name; Matrix-specific build
Browse files Browse the repository at this point in the history
  • Loading branch information
kkorotkov committed Dec 11, 2023
1 parent 06c1064 commit dc57d79
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/netlicesning-client-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ jobs:
strategy:
matrix:
java-version: [11, 17]
include:
- java-version: 11
mvn-goal: deploy
- java-version: 17
mvn-goal: install


steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -54,7 +60,7 @@ jobs:
EOF
- name: Build with Maven
run: mvn -B clean install -Drepo.snapshots.url=${{ secrets.SNAPSHOTS_URL }} -Dsha1=${{ github.ref_name }}
run: mvn -B clean ${{ matrix.mvn-goal }} -Drepo.snapshots.url=${{ secrets.SNAPSHOTS_URL }} -Dsha1=${GITHUB_REF_NAME//\//-/}

- name: Run Demo App
run: |
Expand Down

0 comments on commit dc57d79

Please sign in to comment.