github: move to actions/upload-artifact@v4

v3 is being deprecated, and this one claims to have advantages including the keyword "faster"
This commit is contained in:
Peter Barker 2024-09-29 10:43:08 +10:00 committed by Andrew Tridgell
parent ecec9c47b1
commit 72016df914
13 changed files with 21 additions and 21 deletions

View File

@ -215,7 +215,7 @@ jobs:
fail: true
- name: Archive build
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: binaries
path: artifacts

View File

@ -256,7 +256,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: |

View File

@ -159,7 +159,7 @@ jobs:
cp -a build/QURT/bin/ardurover build/QURT/ArduPilot_Rover.so
- name: Archive build
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: qurt-binaries
path: |

View File

@ -179,7 +179,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}}

View File

@ -192,7 +192,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}}

View File

@ -66,7 +66,7 @@ jobs:
python ./libraries/AP_Scripting/tests/docs_check.py "./libraries/AP_Scripting/docs/docs.lua" "./libraries/AP_Scripting/docs/current_docs.lua"
- name: Upload docs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Docs
path: ScriptingDocs.md

View File

@ -247,7 +247,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}}
@ -261,7 +261,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

View File

@ -251,7 +251,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}}
@ -265,7 +265,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
@ -347,7 +347,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}}
@ -361,7 +361,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

View File

@ -247,7 +247,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}}
@ -261,7 +261,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

View File

@ -249,7 +249,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}}
@ -263,7 +263,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

View File

@ -248,7 +248,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}}
@ -262,7 +262,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

View File

@ -248,7 +248,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}}
@ -262,7 +262,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

View File

@ -164,7 +164,7 @@ jobs:
Tools/autotest/unittest/annotate_params_unittest.py
- name: Archive buildlog artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: fail-${{ matrix.toolchain }}-${{matrix.config}}