From 9897c04c5789f8a9b1fc6f6303ac817f829200c1 Mon Sep 17 00:00:00 2001 From: Bob Long Date: Tue, 8 Oct 2024 14:49:40 +1100 Subject: [PATCH] .github: upgrade upload-artifact to v4 --- .github/workflows/cx_build_compare.yml | 2 +- .github/workflows/esp32_build.yml | 2 +- .github/workflows/test_replay.yml | 2 +- .github/workflows/test_sitl_blimp.yml | 4 ++-- .github/workflows/test_sitl_copter.yml | 8 ++++---- .github/workflows/test_sitl_plane.yml | 4 ++-- .github/workflows/test_sitl_rover.yml | 4 ++-- .github/workflows/test_sitl_sub.yml | 4 ++-- .github/workflows/test_sitl_tracker.yml | 4 ++-- .github/workflows/test_unit_tests.yml | 2 +- 10 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/cx_build_compare.yml b/.github/workflows/cx_build_compare.yml index e0247a8dae..c129f9ec62 100644 --- a/.github/workflows/cx_build_compare.yml +++ b/.github/workflows/cx_build_compare.yml @@ -97,7 +97,7 @@ jobs: echo [`date`] Built ${{ github.event.pull_request.base.ref }} with no versions - name: Upload Artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: ${{ matrix.board }} path: ${{ github.workspace }}/${{ matrix.board }} diff --git a/.github/workflows/esp32_build.yml b/.github/workflows/esp32_build.yml index c8b3c2cc31..70329303ef 100644 --- a/.github/workflows/esp32_build.yml +++ b/.github/workflows/esp32_build.yml @@ -192,7 +192,7 @@ jobs: ls bootloader* partition* Ardu*.elf Ardu*.bin >> $GITHUB_STEP_SUMMARY - name: Archive artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: esp32-binaries -${{matrix.config}} path: | diff --git a/.github/workflows/test_replay.yml b/.github/workflows/test_replay.yml index 559c5b56f2..25946f1411 100644 --- a/.github/workflows/test_replay.yml +++ b/.github/workflows/test_replay.yml @@ -197,7 +197,7 @@ jobs: Tools/scripts/build_ci.sh - name: Archive buildlog artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: fail-${{ matrix.toolchain }}-${{matrix.config}} diff --git a/.github/workflows/test_sitl_blimp.yml b/.github/workflows/test_sitl_blimp.yml index cd1e15e3ea..9ffac8b482 100644 --- a/.github/workflows/test_sitl_blimp.yml +++ b/.github/workflows/test_sitl_blimp.yml @@ -175,7 +175,7 @@ jobs: Tools/scripts/build_ci.sh - name: Archive buildlog artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: fail-${{matrix.config}} @@ -189,7 +189,7 @@ jobs: retention-days: 14 - name: Archive .bin artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: BIN-${{matrix.config}} path: /__w/ardupilot/ardupilot/logs diff --git a/.github/workflows/test_sitl_copter.yml b/.github/workflows/test_sitl_copter.yml index 4e3724db8b..9955d74257 100644 --- a/.github/workflows/test_sitl_copter.yml +++ b/.github/workflows/test_sitl_copter.yml @@ -180,7 +180,7 @@ jobs: Tools/scripts/build_ci.sh - name: Archive buildlog artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: fail-${{matrix.config}} @@ -194,7 +194,7 @@ jobs: retention-days: 14 - name: Archive .bin artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: BIN-${{matrix.config}} path: /__w/ardupilot/ardupilot/logs @@ -276,7 +276,7 @@ jobs: Tools/scripts/build_ci.sh - name: Archive buildlog artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: fail-${{matrix.config}} @@ -290,7 +290,7 @@ jobs: retention-days: 14 - name: Archive .bin artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: BIN-${{matrix.config}} path: /__w/ardupilot/ardupilot/logs diff --git a/.github/workflows/test_sitl_plane.yml b/.github/workflows/test_sitl_plane.yml index 437cba16e0..ad6f8aaca3 100644 --- a/.github/workflows/test_sitl_plane.yml +++ b/.github/workflows/test_sitl_plane.yml @@ -252,7 +252,7 @@ jobs: Tools/scripts/build_ci.sh - name: Archive buildlog artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: fail-${{matrix.config}} @@ -266,7 +266,7 @@ jobs: retention-days: 14 - name: Archive .bin artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: BIN-${{matrix.config}} path: /__w/ardupilot/ardupilot/logs diff --git a/.github/workflows/test_sitl_rover.yml b/.github/workflows/test_sitl_rover.yml index 444b9e0fd2..f5c9227c6e 100644 --- a/.github/workflows/test_sitl_rover.yml +++ b/.github/workflows/test_sitl_rover.yml @@ -178,7 +178,7 @@ jobs: Tools/scripts/build_ci.sh - name: Archive buildlog artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: fail-${{matrix.config}} @@ -192,7 +192,7 @@ jobs: retention-days: 14 - name: Archive .bin artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: BIN-${{matrix.config}} path: /__w/ardupilot/ardupilot/logs diff --git a/.github/workflows/test_sitl_sub.yml b/.github/workflows/test_sitl_sub.yml index 36e4863336..d1f0efc3e0 100644 --- a/.github/workflows/test_sitl_sub.yml +++ b/.github/workflows/test_sitl_sub.yml @@ -176,7 +176,7 @@ jobs: Tools/scripts/build_ci.sh - name: Archive buildlog artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: fail-${{matrix.config}} @@ -190,7 +190,7 @@ jobs: retention-days: 14 - name: Archive .bin artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: BIN-${{matrix.config}} path: /__w/ardupilot/ardupilot/logs diff --git a/.github/workflows/test_sitl_tracker.yml b/.github/workflows/test_sitl_tracker.yml index adf44f8a83..477bbc5236 100644 --- a/.github/workflows/test_sitl_tracker.yml +++ b/.github/workflows/test_sitl_tracker.yml @@ -176,7 +176,7 @@ jobs: Tools/scripts/build_ci.sh - name: Archive buildlog artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: fail-${{matrix.config}} @@ -190,7 +190,7 @@ jobs: retention-days: 14 - name: Archive .bin artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: BIN-${{matrix.config}} path: /__w/ardupilot/ardupilot/logs diff --git a/.github/workflows/test_unit_tests.yml b/.github/workflows/test_unit_tests.yml index 5fefbd4190..989fb6904e 100644 --- a/.github/workflows/test_unit_tests.yml +++ b/.github/workflows/test_unit_tests.yml @@ -153,7 +153,7 @@ jobs: Tools/scripts/build_ci.sh - name: Archive buildlog artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() with: name: fail-${{ matrix.toolchain }}-${{matrix.config}}