Skip to content

Commit 219dada

Browse files
authoredJun 7, 2024··
Build with cmd.exe on Windows (#976)
- use mvnw.cmd script on Windows - clean PATH since MinGW stuff causes slowdown problems
1 parent 879d79a commit 219dada

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
 

‎.github/workflows/master-build.yml

+8
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,11 @@ jobs:
4242

4343
- name: Build with maven
4444
run: ./mvnw --no-transfer-progress verify
45+
if: matrix.os != 'windows-latest'
46+
47+
- name: Build with maven
48+
run: |
49+
set PATH=%JAVA_HOME%\bin;C:\Windows\System32\WindowsPowerShell\v1.0\
50+
mvnw.cmd --no-transfer-progress verify
51+
shell: cmd
52+
if: matrix.os == 'windows-latest'

0 commit comments

Comments
 (0)
Please sign in to comment.