From 1a6a014494785e107023b25c157b30c3a4838b99 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Mon, 14 Nov 2022 21:40:40 -0500 Subject: [PATCH] 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. --- .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 36ddb6846..d95c7b3c6 100644 --- a/.github/workflows/cygwin.yml +++ b/.github/workflows/cygwin.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.* diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index a7f9f63c4..66e84bed5 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -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 diff --git a/.github/workflows/msys2.yml b/.github/workflows/msys2.yml index fd60254e6..4f0598396 100644 --- a/.github/workflows/msys2.yml +++ b/.github/workflows/msys2.yml @@ -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.*