github workflows: upgrade actions/upload-artifact to version 3

This is a no-op change from v2 to v3, but github complains that nodejs
is outdated if you don't. It's not obvious why this required a major
version bump...

However, half of our uses are on v1, which has a decent fix: failure to
upload artifacts constitutes a step failure.
pull/11115/head
Eli Schwartz 2 years ago
parent 01c8205864
commit 1a6a014494
No known key found for this signature in database
GPG Key ID: CEB167EFB5722BD6
  1. 2
      .github/workflows/cygwin.yml
  2. 4
      .github/workflows/macos.yml
  3. 2
      .github/workflows/msys2.yml

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

@ -113,13 +113,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@v1
- uses: actions/upload-artifact@v3
if: failure()
with:
name: Qt4_Mac_build
path: build/meson-logs/meson-log.txt
- run: meson test -C build -v
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v3
if: failure()
with:
name: Qt4_Mac_test

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

Loading…
Cancel
Save