ci: Update actions/upload-artifact to v4 to fix deprecations

pull/12194/merge
Nirbheek Chauhan 4 months ago committed by Nirbheek Chauhan
parent fb108e69b1
commit 2daf5f7c9d
  1. 2
      .github/workflows/cygwin.yml
  2. 4
      .github/workflows/macos.yml
  3. 2
      .github/workflows/msys2.yml

@ -99,7 +99,7 @@ jobs:
SKIP_STATIC_BOOST: 1 SKIP_STATIC_BOOST: 1
shell: C:\cygwin\bin\bash.exe --noprofile --norc -o igncr -eo pipefail '{0}' shell: C:\cygwin\bin\bash.exe --noprofile --norc -o igncr -eo pipefail '{0}'
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
with: with:
name: ${{ matrix.NAME }} name: ${{ matrix.NAME }}
path: meson-test-run.* path: meson-test-run.*

@ -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: 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 setup "test cases/frameworks/4 qt" build -Drequired=qt4
- run: meson compile -C build - run: meson compile -C build
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
if: failure() if: failure()
with: with:
name: Qt4_Mac_build name: Qt4_Mac_build
path: build/meson-logs/meson-log.txt path: build/meson-logs/meson-log.txt
- run: meson test -C build -v - run: meson test -C build -v
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
if: failure() if: failure()
with: with:
name: Qt4_Mac_test name: Qt4_Mac_test

@ -127,7 +127,7 @@ jobs:
MSYSTEM= python3 ./tools/run_with_cov.py run_tests.py --backend=ninja MSYSTEM= python3 ./tools/run_with_cov.py run_tests.py --backend=ninja
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
with: with:
name: ${{ matrix.NAME }} name: ${{ matrix.NAME }}
path: meson-test-run.* path: meson-test-run.*

Loading…
Cancel
Save