File tree 1 file changed +8
-3
lines changed
1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -43,12 +43,17 @@ jobs:
43
43
restore-keys : |
44
44
${{ runner.os }}-maven-
45
45
- name : Set argLine command line option
46
- shell : bash
47
46
if : ${{ matrix.java != '8' }}
48
47
run : echo 'ARG_LINE=-D"argLine=--illegal-access=permit"' >> $GITHUB_ENV
49
48
- name : Set env command line option
50
- shell : bash
51
49
if : ${{ matrix.os == 'ubuntu-latest' }}
52
50
run : echo 'ENV_TRAVIS="-Denv.TRAVIS"' >> $GITHUB_ENV
53
51
- name : Test with Maven
54
- run : ./mvnw test -B -D"license.skip=true" -D"jacoco.skip=true" $ENV_TRAVIS $ARG_LINE
52
+ if : ${{ matrix.os != 'windows-latest' }}
53
+ run : ./mvnw test -B -D"license.skip=true" -D"jacoco.skip=true" $ENV_TRAVIS $ARG_LINE
54
+ - name : Test with Maven
55
+ if : ${{ matrix.os == 'windows-latest' && matrix.java == '8' }}
56
+ run : ./mvnw test -B -D"license.skip=true" -D"jacoco.skip=true"
57
+ - name : Test with Maven
58
+ if : ${{ matrix.os == 'windows-latest' && matrix.java != '8' }}
59
+ run : ./mvnw test -B -D"license.skip=true" -D"jacoco.skip=true" -D"argLine=--illegal-access=permit"
You can’t perform that action at this time.
0 commit comments