Skip to content

Commit 5699e58

Browse files
committed
Move back to Java 8 for code coverage
1 parent fe715c0 commit 5699e58

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/maven-build.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,8 @@ jobs:
9494
if: matrix.os != 'windows' && startsWith(matrix.java, '8')
9595
uses: codecov/[email protected]
9696
# JDK 11+
97-
- name: Maven Install without Code Coverage
98-
if: matrix.os == 'windows' && !startsWith(matrix.java, '8')
97+
- name: Maven Install without Code Coverage (Java 11+)
98+
if: (!startsWith(matrix.java, '8'))
9999
env:
100100
MAVEN_OPTS: ${{ env.JAVA_11_PLUS_MAVEN_OPTS }}
101101
run: mvn -B clean install --file pom.xml "-Dsurefire.argLine=--add-opens java.base/java.net=ALL-UNNAMED"
102-
- name: Maven Install with Code Coverage
103-
if: matrix.os != 'windows' && !startsWith(matrix.java, '8')
104-
env:
105-
MAVEN_OPTS: ${{ env.JAVA_11_PLUS_MAVEN_OPTS }}
106-
run: mvn -B clean install -D enable-ci --file pom.xml "-Dsurefire.argLine=--add-opens java.base/java.net=ALL-UNNAMED"

0 commit comments

Comments
 (0)