Skip to content

Commit

Permalink
Fix matrix includes
Browse files Browse the repository at this point in the history
  • Loading branch information
ctubbsii committed Jul 23, 2024
1 parent 7e59bdf commit 8913975
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/maven.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-latest]
java: [17, 21]
include:
- os: windows-latest
verifyFormatOpt: '=false'
- { os: ubuntu-latest, verifyFormatOpt: '-Drevelc.verifyFormat' }
- { os: macos-latest, verifyFormatOpt: '-Drevelc.verifyFormat' }
- { os: windows-latest, verifyFormatOpt: '-Drevelc.skipFormat' }
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -27,7 +28,7 @@ jobs:
- name: Download Maven Wrapper
run: mvn wrapper:wrapper "-Dmaven=3.9.8"
- name: Build with Maven
run: ./mvnw -B -V -e "-Dstyle.color=always" verify "-Drevelc.skipFormat" "-Drevelc.verifyFormat${{ matrix.verifyFormatOpt }}"
run: ./mvnw -B -V -e "-Dstyle.color=always" verify "-Drevelc.skipFormat" "${{ matrix.verifyFormatOpt }}"
env:
MAVEN_OPTS: -Djansi.force=true
- name: View IT build log on failure
Expand Down

0 comments on commit 8913975

Please sign in to comment.