9393 fi
9494
9595 - name : Upload build Artifact wheel
96- uses : actions/upload-artifact@v3.2.1
96+ uses : actions/upload-artifact@v4
9797 with :
98- name : wheel
98+ name : wheel-mac-${{ matrix.raylib-platform }}-${{ matrix.python-version }}
9999 path : dist/*
100100
101101# build-mac-universal:
@@ -256,9 +256,9 @@ jobs:
256256
257257
258258 - name : Upload build Artifact wheel
259- uses : actions/upload-artifact@v3.2.1
259+ uses : actions/upload-artifact@v4
260260 with :
261- name : wheel
261+ name : wheel-linux-${{ matrix.raylib-platform }}-${{ matrix.python-version }}
262262 path : dist/*
263263
264264
@@ -299,7 +299,7 @@ jobs:
299299 architecture : x64
300300
301301 - name : Add msbuild to PATH
302- uses : microsoft/setup-msbuild@v1.0.2
302+ uses : microsoft/setup-msbuild@v2
303303
304304 - name : Build raylib
305305 run : |
@@ -345,13 +345,13 @@ jobs:
345345 fi
346346
347347 - name : Upload build Artifact wheel
348- uses : actions/upload-artifact@v3.2.1
348+ uses : actions/upload-artifact@v4
349349 with :
350- name : wheel
350+ name : wheel-windows-${{ matrix.raylib-platform }}-${{ matrix.python-version }}
351351 path : dist/*
352352
353353 source-distro :
354- runs-on : ubuntu-20.04
354+ runs-on : ubuntu-latest
355355
356356 steps :
357357 # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
@@ -392,13 +392,13 @@ jobs:
392392 python setup.py sdist
393393
394394 - name : Upload build Artifact wheel
395- uses : actions/upload-artifact@v3.2.1
395+ uses : actions/upload-artifact@v4
396396 with :
397- name : wheel
397+ name : wheel-source
398398 path : dist/*
399399
400400 dynamic-distro :
401- runs-on : ubuntu-20.04
401+ runs-on : ubuntu-latest
402402
403403 steps :
404404 # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
@@ -424,7 +424,17 @@ jobs:
424424 python setup.py sdist
425425
426426 - name : Upload build Artifact wheel
427- uses : actions/upload-artifact@v3.2.1
427+ uses : actions/upload-artifact@v4
428428 with :
429- name : wheel
429+ name : wheel-dynamic
430430 path : dynamic/dist/*
431+
432+ merge :
433+ needs : [build-mac-intel, build-windows, build-linux, source-distro, dynamic-distro]
434+ runs-on : ubuntu-latest
435+ steps :
436+ - name : Merge All Artifacts
437+ uses : actions/upload-artifact/merge@v4
438+ with :
439+ name : wheel
440+ pattern : wheel-*
0 commit comments