Skip to content

Commit

Permalink
Build with cmd.exe on Windows
Browse files Browse the repository at this point in the history
- use mvnw.cmd script on Windows
- clean PATH since MinGW stuff causes slowdown problems
  • Loading branch information
puskarpeter committed Apr 26, 2024
1 parent 6484239 commit c6d0992
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/master-build.yml
Expand Up @@ -42,3 +42,11 @@ jobs:

- name: Build with maven
run: ./mvnw --no-transfer-progress verify
if: matrix.os != 'windows-latest'

- name: Build with maven
run: |
set PATH=%JAVA_HOME%\bin;C:\Windows\System32\WindowsPowerShell\v1.0\
mvnw.cmd --no-transfer-progress verify
shell: cmd
if: matrix.os == 'windows-latest'

0 comments on commit c6d0992

Please sign in to comment.