Skip to content

Commit 5d6c710

Browse files
committed
CI: Run code coverage publication only with Java 8
1 parent b4b25da commit 5d6c710

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/gradle.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,15 @@ jobs:
2121
java-version: ${{ matrix.java }}
2222
- name: Build with Gradle
2323
run: ./gradlew build
24+
25+
publishCoverage:
26+
runs-on: ubuntu-latest
27+
28+
steps:
29+
- uses: actions/checkout@v2
30+
- name: Setup Java
31+
uses: actions/setup-java@v1
32+
with:
33+
java-version: 8
2434
- name: Publish coverage
2535
run: ./gradlew jacocoTestReport coveralls

0 commit comments

Comments
 (0)