Skip to content

Commit

Permalink
Try to skip format verification for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ctubbsii committed Jul 23, 2024
1 parent 3fba7f1 commit 7e59bdf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/maven.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
java: [17, 21]
include:
- os: windows-latest
verifyFormatOpt: '=false'
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -24,7 +27,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"
run: ./mvnw -B -V -e "-Dstyle.color=always" verify "-Drevelc.skipFormat" "-Drevelc.verifyFormat${{ matrix.verifyFormatOpt }}"
env:
MAVEN_OPTS: -Djansi.force=true
- name: View IT build log on failure
Expand Down

0 comments on commit 7e59bdf

Please sign in to comment.