@@ -26,20 +26,20 @@ jobs:
2626 tag_name : ${{ steps.version.outputs.tag_name }}
2727 steps :
2828 - name : Checkout
29- uses : actions/checkout@v3
29+ uses : actions/checkout@v4
3030 with :
3131 fetch-depth : 0
3232
3333 - name : Set up JDK
34- uses : actions/setup-java@v3
34+ uses : actions/setup-java@v4
3535 with :
3636 java-version : ${{ env.RELEASE_JAVA_VERSION }}
3737 distribution : temurin
3838
3939 # don't use the setup-java cache option as this only caches what is
4040 # necessary for the version, not the other jobs
4141 - name : Cache local Maven repository
42- uses : actions/cache@v3
42+ uses : actions/cache@v4
4343 with :
4444 path : ~/.m2/repository
4545 key : ${{ runner.os }}-maven-version-${{ hashFiles('**/pom.xml') }}
@@ -83,12 +83,12 @@ jobs:
8383 java : [ 11, 17 ]
8484 steps :
8585 - name : Checkout
86- uses : actions/checkout@v3
86+ uses : actions/checkout@v4
8787 with :
8888 submodules : false
8989
9090 - name : Install Java ${{ matrix.java }}
91- uses : actions/setup-java@v3
91+ uses : actions/setup-java@v4
9292 with :
9393 java-version : ${{ matrix.java }}
9494 distribution : temurin
@@ -99,14 +99,14 @@ jobs:
9999
100100 - name : Upload JNI headers
101101 if : matrix.java == env.RELEASE_JAVA_VERSION
102- uses : actions/upload-artifact@v3
102+ uses : actions/upload-artifact@v4
103103 with :
104104 name : jni_headers
105105 path : target/native
106106
107107 ubuntu :
108108 name : Linux Static Natives ${{ matrix.arch }}
109- runs-on : ubuntu-20 .04
109+ runs-on : ubuntu-22 .04
110110 needs : javatest
111111 strategy :
112112 fail-fast : false
@@ -118,13 +118,13 @@ jobs:
118118 - " ppc64el"
119119 steps :
120120 - name : Checkout
121- uses : actions/checkout@v3
121+ uses : actions/checkout@v4
122122 with :
123123 fetch-depth : 0
124124 submodules : true
125125
126126 - name : Get JNI headers
127- uses : actions/download-artifact@v3
127+ uses : actions/download-artifact@v4
128128 with :
129129 name : jni_headers
130130 path : target/native
@@ -150,7 +150,7 @@ jobs:
150150 run : ./resources/ubuntu-build-image/build-static.sh ${{ matrix.arch }} ${{ env.RELEASE_JAVA_VERSION }} "$(pwd)"
151151
152152 - name : Upload Linux ${{ matrix.arch }} natives
153- uses : actions/upload-artifact@v3
153+ uses : actions/upload-artifact@v4
154154 with :
155155 name : linux-${{ matrix.arch }}
156156 path : src/main/resources/linux-*/*
@@ -188,21 +188,21 @@ jobs:
188188
189189 steps :
190190 - name : Checkout
191- uses : actions/checkout@v3
191+ uses : actions/checkout@v4
192192 with :
193193 fetch-depth : 0
194194 submodules : true
195195
196196 - name : Get JNI headers
197- uses : actions/download-artifact@v3
197+ uses : actions/download-artifact@v4
198198 with :
199199 name : jni_headers
200200 path : target/native
201201
202202 # don't use the setup-java cache option as this only caches what is
203203 # necessary for the version, not the other jobs
204204 - name : Cache local Maven repository
205- uses : actions/cache@v3
205+ uses : actions/cache@v4
206206 with :
207207 path : ~/.m2/repository
208208 key : ${{ runner.os }}-maven-version-${{ hashFiles('**/pom.xml') }}
@@ -232,7 +232,7 @@ jobs:
232232 "${{ matrix.arch }}"
233233
234234 - name : Upload package as artifact
235- uses : actions/upload-artifact@v3
235+ uses : actions/upload-artifact@v4
236236 with :
237237 name : ${{ matrix.dist.vendor }}-${{ matrix.dist.dist }}-${{ matrix.arch }}
238238 path : target/debian/${{ matrix.dist.dist }}/*
@@ -249,20 +249,20 @@ jobs:
249249 - { actions: x64, cmake: x64, java: "x86-64" }
250250 steps :
251251 - name : Checkout
252- uses : actions/checkout@v3
252+ uses : actions/checkout@v4
253253 with :
254254 fetch-depth : 0
255255 submodules : true
256256
257257 - name : Get JNI headers
258- uses : actions/download-artifact@v3
258+ uses : actions/download-artifact@v4
259259 with :
260260 name : jni_headers
261261 path : target/native
262262
263263 - name : Install Java ${{ env.RELEASE_JAVA_VERSION }}
264264 id : install_java
265- uses : actions/setup-java@v3
265+ uses : actions/setup-java@v4
266266 with :
267267 distribution : temurin
268268 java-version : ${{ env.RELEASE_JAVA_VERSION }}
@@ -285,13 +285,13 @@ jobs:
285285
286286 - name : Upload Debug logs
287287 if : ${{ failure() }}
288- uses : actions/upload-artifact@v3
288+ uses : actions/upload-artifact@v4
289289 with :
290290 name : win32-debug-${{ matrix.arch.java }}
291291 path : target/debug*
292292
293293 - name : Upload Windows ${{ matrix.arch.actions }} natives
294- uses : actions/upload-artifact@v3
294+ uses : actions/upload-artifact@v4
295295 with :
296296 name : win32-${{ matrix.arch.java }}
297297 path : src/main/resources/win32-*/*
@@ -308,20 +308,20 @@ jobs:
308308 - arm64
309309 steps :
310310 - name : Checkout
311- uses : actions/checkout@v3
311+ uses : actions/checkout@v4
312312 with :
313313 fetch-depth : 0
314314 submodules : true
315315
316316 - name : Get JNI headers
317- uses : actions/download-artifact@v3
317+ uses : actions/download-artifact@v4
318318 with :
319319 name : jni_headers
320320 path : target/native
321321
322322 - name : Install Java
323323 id : install_java
324- uses : actions/setup-java@v3
324+ uses : actions/setup-java@v4
325325 with :
326326 distribution : zulu
327327 java-version : ${{ env.RELEASE_JAVA_VERSION }}
@@ -340,13 +340,13 @@ jobs:
340340
341341 - name : Upload Debug logs
342342 if : ${{ failure() }}
343- uses : actions/upload-artifact@v3
343+ uses : actions/upload-artifact@v4
344344 with :
345345 name : darwin-debug-${{ matrix.arch }}
346346 path : target/debug*
347347
348348 - name : Upload Mac natives
349- uses : actions/upload-artifact@v3
349+ uses : actions/upload-artifact@v4
350350 with :
351351 name : darwin-${{ matrix.arch }}
352352 path : src/main/resources/darwin-*/*
@@ -363,13 +363,13 @@ jobs:
363363 - deb
364364 steps :
365365 - name : Checkout
366- uses : actions/checkout@v3
366+ uses : actions/checkout@v4
367367 with :
368368 fetch-depth : 0
369369 submodules : false
370370
371371 - name : Install Java ${{ env.RELEASE_JAVA_VERSION }}
372- uses : actions/setup-java@v3
372+ uses : actions/setup-java@v4
373373 with :
374374 java-version : ${{ env.RELEASE_JAVA_VERSION }}
375375 distribution : temurin
@@ -379,7 +379,7 @@ jobs:
379379 server-password : SONATYPE_PW
380380
381381 - name : Download binaries
382- uses : actions/download-artifact@v3
382+ uses : actions/download-artifact@v4
383383 with :
384384 path : target
385385
@@ -430,7 +430,7 @@ jobs:
430430 package
431431
432432 - name : Upload Multi-Platform Jar
433- uses : actions/upload-artifact@v3
433+ uses : actions/upload-artifact@v4
434434 with :
435435 name : jar
436436 path : target/*.jar
0 commit comments