From b37e1842074b407ae5a8782c454a273e39163893 Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Fri, 26 Jul 2024 08:02:47 +0530 Subject: [PATCH] ci: Update actions/upload-artifact to v4 to fix deprecations --- .github/workflows/cygwin.yml | 2 +- .github/workflows/macos.yml | 4 ++-- .github/workflows/msys2.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cygwin.yml b/.github/workflows/cygwin.yml index 2498f7b570eb..d4c0ba53b20f 100644 --- a/.github/workflows/cygwin.yml +++ b/.github/workflows/cygwin.yml @@ -99,7 +99,7 @@ jobs: SKIP_STATIC_BOOST: 1 shell: C:\cygwin\bin\bash.exe --noprofile --norc -o igncr -eo pipefail '{0}' - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: ${{ matrix.NAME }} path: meson-test-run.* diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index e7d1a7872920..88acbef90206 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -145,13 +145,13 @@ jobs: - run: ln -sfn /usr/local/Cellar/qt@4/4.8.7_6.reinstall /usr/local/Cellar/qt@4/4.8.7_6 - run: meson setup "test cases/frameworks/4 qt" build -Drequired=qt4 - run: meson compile -C build - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: failure() with: name: Qt4_Mac_build path: build/meson-logs/meson-log.txt - run: meson test -C build -v - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: failure() with: name: Qt4_Mac_test diff --git a/.github/workflows/msys2.yml b/.github/workflows/msys2.yml index 6d44989ab1a1..3b518fee7607 100644 --- a/.github/workflows/msys2.yml +++ b/.github/workflows/msys2.yml @@ -127,7 +127,7 @@ jobs: MSYSTEM= python3 ./tools/run_with_cov.py run_tests.py --backend=ninja - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: ${{ matrix.NAME }} path: meson-test-run.*