Skip to content

Commit

Permalink
.github: upgrade upload-artifact to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
robertlong13 committed Oct 10, 2024
1 parent 523759c commit 9897c04
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cx_build_compare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/esp32_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_replay.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_sitl_blimp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand All @@ -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
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test_sitl_copter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand All @@ -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
Expand Down Expand Up @@ -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}}
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_sitl_plane.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_sitl_rover.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_sitl_sub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_sitl_tracker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down

0 comments on commit 9897c04

Please sign in to comment.