19
19
- uses : actions/checkout@v4
20
20
21
21
- name : Set up JDK 1.8
22
- uses : actions/setup-java@v3
22
+ uses : actions/setup-java@v4
23
23
with :
24
24
distribution : ' zulu'
25
25
java-version : ' 8'
@@ -36,10 +36,12 @@ jobs:
36
36
run : ./mvnw -B test -P integration -Djacoco.destFile=target/jacoco-cartridge-container.exec --file pom.xml
37
37
38
38
- name : Upload jacoco exec results
39
- uses : actions/upload-artifact@v2
39
+ uses : actions/upload-artifact@v4
40
40
with :
41
41
name : tests-cartridge-container-jacoco
42
42
path : " **/jacoco-cartridge-container.exec"
43
+ retention-days : 5
44
+ overwrite : true
43
45
44
46
tests-ee :
45
47
runs-on : ubuntu-latest
48
50
- uses : actions/checkout@v4
49
51
50
52
- name : Set up JDK 1.8
51
- uses : actions/setup-java@v3
53
+ uses : actions/setup-java@v4
52
54
with :
53
55
distribution : ' zulu'
54
56
java-version : ' 8'
@@ -63,10 +65,12 @@ jobs:
63
65
run : ./mvnw -B test -P enterprise -Djacoco.destFile=target/jacoco-ee.exec --file pom.xml
64
66
65
67
- name : Upload jacoco exec results
66
- uses : actions/upload-artifact@v2
68
+ uses : actions/upload-artifact@v4
67
69
with :
68
70
name : tests-ee-jacoco
69
71
path : " **/jacoco-ee.exec"
72
+ retention-days : 5
73
+ overwrite : true
70
74
71
75
tests-tarantool-container :
72
76
runs-on : ubuntu-latest
79
83
- uses : actions/checkout@v4
80
84
81
85
- name : Set up JDK 1.8
82
- uses : actions/setup-java@v3
86
+ uses : actions/setup-java@v4
83
87
with :
84
88
distribution : ' zulu'
85
89
java-version : ' 8'
@@ -93,10 +97,12 @@ jobs:
93
97
run : ./mvnw -B test -P tarantool-container -Djacoco.destFile=target/jacoco-tarantool-container.exec --file pom.xml
94
98
95
99
- name : Upload jacoco exec results
96
- uses : actions/upload-artifact@v2
100
+ uses : actions/upload-artifact@v4
97
101
with :
98
102
name : tests-tarantool-container-jacoco
99
103
path : " **/jacoco-tarantool-container.exec"
104
+ retention-days : 5
105
+ overwrite : true
100
106
101
107
merge-jacoco-report :
102
108
name : Jacoco Merge Results
@@ -109,23 +115,23 @@ jobs:
109
115
- uses : actions/checkout@v4
110
116
111
117
- name : Set up JDK 1.8
112
- uses : actions/setup-java@v3
118
+ uses : actions/setup-java@v4
113
119
with :
114
120
distribution : ' zulu'
115
121
java-version : ' 8'
116
122
cache : ' maven'
117
123
118
- - uses : actions/download-artifact@v2
124
+ - uses : actions/download-artifact@v4
119
125
with :
120
126
name : tests-cartridge-container-jacoco
121
127
path : .
122
128
123
- - uses : actions/download-artifact@v2
129
+ - uses : actions/download-artifact@v4
124
130
with :
125
131
name : tests-ee-jacoco
126
132
path : .
127
133
128
- - uses : actions/download-artifact@v2
134
+ - uses : actions/download-artifact@v4
129
135
with :
130
136
name : tests-tarantool-container-jacoco
131
137
path : .
@@ -136,11 +142,13 @@ jobs:
136
142
137
143
- name : Upload jacoco coverage despite the check result
138
144
if : ${{ always() }}
139
- uses : actions/upload-artifact@v2
145
+ uses : actions/upload-artifact@v4
140
146
with :
141
147
name : coverage-results-report
142
148
path : target/site/jacoco
143
149
if-no-files-found : error
150
+ overwrite : true
151
+
144
152
145
153
- name : Jacoco Report to PR
146
154
id : jacoco
0 commit comments