Skip to content

Commit aad8b9a

Browse files
authored
Merge pull request hub4j#1299 from bitwiseman/task/java11
Move coverage to Java 11
2 parents 50d4ae6 + ccf8685 commit aad8b9a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/maven-build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
strategy:
4747
fail-fast: false
4848
matrix:
49-
java: [ 8, 11 ]
49+
java: [ 11 ]
5050
steps:
5151
- uses: actions/checkout@v2
5252
- name: Set up JDK
@@ -90,9 +90,6 @@ jobs:
9090
- name: Maven Install with Code Coverage
9191
if: matrix.os != 'windows' && startsWith(matrix.java, '8')
9292
run: mvn -B clean install -D enable-ci --file pom.xml
93-
- name: Codecov Report
94-
if: matrix.os != 'windows' && startsWith(matrix.java, '8')
95-
uses: codecov/[email protected]
9693
# JDK 11+
9794
- name: Maven Install without Code Coverage
9895
if: matrix.os == 'windows' && !startsWith(matrix.java, '8')
@@ -104,3 +101,6 @@ jobs:
104101
env:
105102
MAVEN_OPTS: ${{ env.JAVA_11_PLUS_MAVEN_OPTS }}
106103
run: mvn -B clean install -D enable-ci --file pom.xml "-Dsurefire.argLine=--add-opens java.base/java.net=ALL-UNNAMED"
104+
- name: Codecov Report
105+
if: matrix.os != 'windows' && startsWith(matrix.java, '11')
106+
uses: codecov/[email protected]

0 commit comments

Comments
 (0)