From c6a2c95f9fa60f4b7a12e556d624282cf030696c Mon Sep 17 00:00:00 2001 From: Federico Villa Date: Fri, 6 Dec 2024 18:12:36 +0100 Subject: [PATCH] Fix: update `actions/upload-artifact` version to resolve deprecation of artifact action as announced: https://github.blog/changelog/2024-02-13-deprecation-notice-v1-and-v2-of-the-artifact-actions/ --- .github/workflows/clang-format.yml | 2 +- .github/workflows/linux-release.yml | 2 +- .github/workflows/mac-release.yml | 2 +- .github/workflows/wasm-release.yml | 2 +- .github/workflows/windows-release.yml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/clang-format.yml b/.github/workflows/clang-format.yml index 1cbaa7b64..11a450e8f 100644 --- a/.github/workflows/clang-format.yml +++ b/.github/workflows/clang-format.yml @@ -29,7 +29,7 @@ jobs: echo "Clang-format found no formatting problems" exit 0 - name: Upload clang-format patch - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: ${{ failure() }} # Unfortunately, artifact uploads are always zips :( with: diff --git a/.github/workflows/linux-release.yml b/.github/workflows/linux-release.yml index 14dbad438..58865f3a5 100644 --- a/.github/workflows/linux-release.yml +++ b/.github/workflows/linux-release.yml @@ -71,7 +71,7 @@ jobs: ./linuxdeployqt-continuous-x86_64.AppImage --appimage-extract-and-run appdir/usr/share/applications/*.desktop \ -appimage -verbose=2 -extra-plugins=iconengines - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: ${{ matrix.build-type }}_executable path: Ripes*.AppImage* diff --git a/.github/workflows/mac-release.yml b/.github/workflows/mac-release.yml index c06757850..df16a7039 100644 --- a/.github/workflows/mac-release.yml +++ b/.github/workflows/mac-release.yml @@ -59,7 +59,7 @@ jobs: sudo mv Ripes.app ${APPNAME}.app sudo zip -r ${APPNAME}.zip ${APPNAME}.app/ - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: ${{ matrix.build-type }}_executable path: ${{ env.APPNAME }}.zip diff --git a/.github/workflows/wasm-release.yml b/.github/workflows/wasm-release.yml index 677636054..00c5c580e 100644 --- a/.github/workflows/wasm-release.yml +++ b/.github/workflows/wasm-release.yml @@ -91,7 +91,7 @@ jobs: . make -j $(nproc) - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: ${{ matrix.build-type }}_wasm path: | diff --git a/.github/workflows/windows-release.yml b/.github/workflows/windows-release.yml index 0748ff593..f68690fbe 100644 --- a/.github/workflows/windows-release.yml +++ b/.github/workflows/windows-release.yml @@ -54,7 +54,7 @@ jobs: --no-compiler-runtime --no-opengl-sw --no-translations Ripes.exe 7z a -r ../${APPNAME} * - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: ${{ matrix.build-type }}_executable path: ${{ env.APPNAME }}