diff --git a/.github/workflows/maven-build.yml b/.github/workflows/maven-build.yml index cd86e8a4ca..55e512be3b 100644 --- a/.github/workflows/maven-build.yml +++ b/.github/workflows/maven-build.yml @@ -46,7 +46,7 @@ jobs: strategy: fail-fast: false matrix: - java: [ 8, 11 ] + java: [ 11 ] steps: - uses: actions/checkout@v2 - name: Set up JDK @@ -90,9 +90,6 @@ jobs: - name: Maven Install with Code Coverage if: matrix.os != 'windows' && startsWith(matrix.java, '8') run: mvn -B clean install -D enable-ci --file pom.xml - - name: Codecov Report - if: matrix.os != 'windows' && startsWith(matrix.java, '8') - uses: codecov/codecov-action@v2.1.0 # JDK 11+ - name: Maven Install without Code Coverage if: matrix.os == 'windows' && !startsWith(matrix.java, '8') @@ -104,3 +101,6 @@ jobs: env: MAVEN_OPTS: ${{ env.JAVA_11_PLUS_MAVEN_OPTS }} run: mvn -B clean install -D enable-ci --file pom.xml "-Dsurefire.argLine=--add-opens java.base/java.net=ALL-UNNAMED" + - name: Codecov Report + if: matrix.os != 'windows' && startsWith(matrix.java, '11') + uses: codecov/codecov-action@v2.1.0