@@ -41,14 +41,14 @@ jobs:
4141 name : Compile using JDK 8
4242 steps :
4343 - name : Check out repository
44- uses : actions/checkout@v3
44+ uses : actions/checkout@v4
4545 - name : Check out PR
4646 run : |
4747 git fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 \
4848 origin pull/${{ github.event.inputs.pr }}/merge:merged-pr && git checkout merged-pr
4949 if : github.event.inputs.pr != ''
5050 - name : Install JDK 8 and Maven
51- uses : actions/setup-java@v3
51+ uses : actions/setup-java@v4
5252 with :
5353 distribution : " temurin"
5454 java-version : 8
6060 export LIB_VER=$(grep '<revision>' pom.xml | sed -e 's|[[:space:]]*<[/]*revision>[[:space:]]*||g')
6161 find `pwd`/examples -type f -name pom.xml -exec sed -i -e "s|\(<clickhouse-java.version>\).*\(<\)|\1$LIB_VER\2|g" {} \;
6262 for d in $(ls -d `pwd`/examples/*/); do cd $d && mvn --batch-mode --no-transfer-progress clean compile; done
63+ - name : Upload test results
64+ uses : actions/upload-artifact@v4
65+ if : failure()
66+ with :
67+ name : result ${{ github.job }}
68+ path : |
69+ **/target/failsafe-reports
70+ **/target/surefire-reports
6371
6472 test-multi-env :
6573 needs : compile
@@ -77,22 +85,22 @@ jobs:
7785 name : ${{ matrix.dist }} JDK 17 on ${{ matrix.os }}
7886 steps :
7987 - name : Check out repository
80- uses : actions/checkout@v3
88+ uses : actions/checkout@v4
8189 - name : Check out PR
8290 run : |
8391 git fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 \
8492 origin pull/${{ github.event.inputs.pr }}/merge:merged-pr && git checkout merged-pr
8593 if : github.event.inputs.pr != ''
8694 - name : Install JDK 17 and Maven
87- uses : actions/setup-java@v3
95+ uses : actions/setup-java@v4
8896 with :
8997 distribution : ${{ matrix.dist }}
9098 java-version : 17
9199 cache : " maven"
92100 - name : Test libraries
93101 run : mvn --batch-mode --no-transfer-progress -Dj8 -DskipITs verify
94102 - name : Upload test results
95- uses : actions/upload-artifact@v2
103+ uses : actions/upload-artifact@v4
96104 if : failure()
97105 with :
98106 name : result ${{ github.job }}
@@ -107,7 +115,7 @@ jobs:
107115 name : Test Native Image
108116 steps :
109117 - name : Check out repository
110- uses : actions/checkout@v3
118+ uses : actions/checkout@v4
111119 - name : Check out PR
112120 run : |
113121 git fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 \
@@ -140,14 +148,14 @@ jobs:
140148 name : CLI client + CH LTS
141149 steps :
142150 - name : Check out repository
143- uses : actions/checkout@v3
151+ uses : actions/checkout@v4
144152 - name : Check out PR
145153 run : |
146154 git fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 \
147155 origin pull/${{ github.event.inputs.pr }}/merge:merged-pr && git checkout merged-pr
148156 if : github.event.inputs.pr != ''
149157 - name : Install JDK 8 and Maven
150- uses : actions/setup-java@v3
158+ uses : actions/setup-java@v4
151159 with :
152160 distribution : " temurin"
153161 java-version : 8
@@ -164,7 +172,7 @@ jobs:
164172 run : |
165173 mvn --also-make --batch-mode --no-transfer-progress --projects clickhouse-cli-client -DclickhouseVersion=$PREFERRED_LTS_VERSION -Dj8 -DskipUTs verify
166174 - name : Upload test results
167- uses : actions/upload-artifact@v2
175+ uses : actions/upload-artifact@v4
168176 if : failure()
169177 with :
170178 name : result ${{ github.job }}
@@ -185,14 +193,14 @@ jobs:
185193 name : Java client + CH ${{ matrix.clickhouse }}
186194 steps :
187195 - name : Check out repository
188- uses : actions/checkout@v3
196+ uses : actions/checkout@v4
189197 - name : Check out PR
190198 run : |
191199 git fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 \
192200 origin pull/${{ github.event.inputs.pr }}/merge:merged-pr && git checkout merged-pr
193201 if : github.event.inputs.pr != ''
194202 - name : Install JDK 17 and Maven
195- uses : actions/setup-java@v3
203+ uses : actions/setup-java@v4
196204 with :
197205 distribution : " temurin"
198206 java-version : |
@@ -224,7 +232,7 @@ jobs:
224232 run : |
225233 mvn --also-make --batch-mode --no-transfer-progress --projects clickhouse-cli-client,clickhouse-grpc-client,clickhouse-http-client -DclickhouseVersion=${{ matrix.clickhouse }} verify
226234 - name : Upload test results
227- uses : actions/upload-artifact@v2
235+ uses : actions/upload-artifact@v4
228236 if : failure()
229237 with :
230238 name : result ${{ github.job }}
@@ -306,14 +314,14 @@ jobs:
306314 name : JDBC driver + CH ${{ matrix.clickhouse }} (${{ matrix.protocol }})
307315 steps :
308316 - name : Check out repository
309- uses : actions/checkout@v3
317+ uses : actions/checkout@v4
310318 - name : Check out PR
311319 run : |
312320 git fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 \
313321 origin pull/${{ github.event.inputs.pr }}/merge:merged-pr && git checkout merged-pr
314322 if : github.event.inputs.pr != ''
315323 - name : Install JDK 17 and Maven
316- uses : actions/setup-java@v3
324+ uses : actions/setup-java@v4
317325 with :
318326 distribution : " temurin"
319327 java-version : |
@@ -347,7 +355,7 @@ jobs:
347355 run : |
348356 mvn --batch-mode --no-transfer-progress --projects clickhouse-jdbc -DclickhouseVersion=${{ matrix.clickhouse }} -Dprotocol=${{ matrix.protocol }} verify
349357 - name : Upload test results
350- uses : actions/upload-artifact@v2
358+ uses : actions/upload-artifact@v4
351359 if : failure()
352360 with :
353361 name : result ${{ github.job }}
@@ -369,14 +377,14 @@ jobs:
369377 name : R2DBC ${{ matrix.r2dbc }} + CH ${{ matrix.clickhouse }} (${{ matrix.protocol }})
370378 steps :
371379 - name : Check out repository
372- uses : actions/checkout@v3
380+ uses : actions/checkout@v4
373381 - name : Check out PR
374382 run : |
375383 git fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 \
376384 origin pull/${{ github.event.inputs.pr }}/merge:merged-pr && git checkout merged-pr
377385 if : github.event.inputs.pr != ''
378386 - name : Install JDK 17 and Maven
379- uses : actions/setup-java@v3
387+ uses : actions/setup-java@v4
380388 with :
381389 distribution : " temurin"
382390 java-version : |
@@ -408,7 +416,7 @@ jobs:
408416 mvn --batch-mode --no-transfer-progress --projects clickhouse-r2dbc -DclickhouseVersion=${{ matrix.clickhouse }} \
409417 -D'r2dbc-spi.version=${{ matrix.r2dbc }}' -Dprotocol=${{ matrix.protocol }} verify
410418 - name : Upload test results
411- uses : actions/upload-artifact@v2
419+ uses : actions/upload-artifact@v4
412420 if : failure()
413421 with :
414422 name : result ${{ github.job }}
@@ -442,14 +450,14 @@ jobs:
442450 name : " TimeZone(C/S): ${{ matrix.clientTz }} vs. ${{ matrix.serverTz }}"
443451 steps :
444452 - name : Check out repository
445- uses : actions/checkout@v3
453+ uses : actions/checkout@v4
446454 - name : Check out PR
447455 run : |
448456 git fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 \
449457 origin pull/${{ github.event.inputs.pr }}/merge:merged-pr && git checkout merged-pr
450458 if : github.event.inputs.pr != ''
451459 - name : Install JDK 8 and Maven
452- uses : actions/setup-java@v3
460+ uses : actions/setup-java@v4
453461 with :
454462 distribution : " temurin"
455463 java-version : 8
@@ -462,7 +470,7 @@ jobs:
462470 -DclickhouseTimezone=${{ matrix.serverTz }} -Duser.timezone=${{ matrix.clientTz }} \
463471 -Dj8 -DskipUTs verify
464472 - name : Upload test results
465- uses : actions/upload-artifact@v2
473+ uses : actions/upload-artifact@v4
466474 if : failure()
467475 with :
468476 name : result ${{ github.job }}
0 commit comments