Commit 0bb0275 1 parent 44e25ab commit 0bb0275 Copy full SHA for 0bb0275
File tree 1 file changed +8
-2
lines changed
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -13,13 +13,17 @@ jobs:
13
13
java : [8, 11, 17]
14
14
15
15
steps :
16
- - uses : actions/checkout@v2
16
+ - uses : actions/checkout@v4
17
17
18
18
- name : Set up JDK ${{ matrix.java }}
19
- uses : actions/setup-java@v1
19
+ uses : actions/setup-java@v4
20
20
with :
21
+ distribution : ' zulu'
21
22
java-version : ${{ matrix.java }}
22
23
24
+ - name : Setup Gradle
25
+ uses : gradle/actions/setup-gradle@v3
26
+
23
27
- name : Build
24
28
run : |
25
29
chmod +x gradlew
31
35
run : ./gradlew check --no-daemon
32
36
33
37
- name : Build coverage report
38
+ if : github.ref == 'refs/heads/master' && github.event_name != 'pull_request'
34
39
run : ./gradlew jacocoTestReport --no-daemon
35
40
36
41
- uses : codecov/codecov-action@v4
42
+ if : github.ref == 'refs/heads/master' && github.event_name != 'pull_request'
37
43
with :
38
44
files : build/reports/jacoco/test/jacocoTestReport.xml
39
45
flags : LINUX
You can’t perform that action at this time.
0 commit comments