mirror of https://github.com/ArduPilot/ardupilot
CI: update github action to remove deprecation warnings from logs
This commit is contained in:
parent
14889ed789
commit
161d360dc3
|
@ -31,13 +31,13 @@ jobs:
|
|||
|
||||
- name: Check build files
|
||||
id: check_files
|
||||
uses: andstor/file-existence-action@v1
|
||||
uses: andstor/file-existence-action@v2
|
||||
with:
|
||||
files: "artifacts/*"
|
||||
allow_failure: true
|
||||
fail: true
|
||||
|
||||
- name: Archive build
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: binaries
|
||||
path: artifacts
|
||||
|
|
|
@ -33,7 +33,7 @@ jobs:
|
|||
id: ccache_cache_timestamp
|
||||
run: |
|
||||
NOW=$(date -u +"%F-%T")
|
||||
echo "::set-output name=timestamp::${NOW}"
|
||||
echo "{timestamp}=${NOW}" >> $GITHUB_OUTPUT
|
||||
- name: ccache cache files
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
|
|
|
@ -70,7 +70,7 @@ jobs:
|
|||
id: ccache_cache_timestamp
|
||||
run: |
|
||||
NOW=$(date -u +"%F-%T")
|
||||
echo "::set-output name=timestamp::${NOW}"
|
||||
echo "{timestamp}=${NOW}" >> $GITHUB_OUTPUT
|
||||
- name: ccache cache files
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
|
|
|
@ -37,7 +37,7 @@ jobs:
|
|||
id: ccache_cache_timestamp
|
||||
run: |
|
||||
NOW=$(date -u +"%F-%T")
|
||||
echo "::set-output name=timestamp::${NOW}"
|
||||
echo "{timestamp}=${NOW}" >> $GITHUB_OUTPUT
|
||||
- name: ccache cache files
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
|
|
|
@ -51,7 +51,7 @@ jobs:
|
|||
id: ccache_cache_timestamp
|
||||
run: |
|
||||
NOW=$(date -u +"%F-%T")
|
||||
echo "::set-output name=timestamp::${NOW}"
|
||||
echo "{timestamp}=${NOW}" >> $GITHUB_OUTPUT
|
||||
- name: ccache cache files
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
|
|
|
@ -50,7 +50,7 @@ jobs:
|
|||
id: ccache_cache_timestamp
|
||||
run: |
|
||||
NOW=$(date -u +"%F-%T")
|
||||
echo "::set-output name=timestamp::${NOW}"
|
||||
echo "{timestamp}=${NOW}" >> $GITHUB_OUTPUT
|
||||
- name: ccache cache files
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
|
@ -73,7 +73,7 @@ jobs:
|
|||
Tools/scripts/build_ci.sh
|
||||
|
||||
- name: Archive buildlog artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v3
|
||||
if: failure()
|
||||
with:
|
||||
name: fail-${{ matrix.toolchain }}-${{matrix.config}}
|
||||
|
|
|
@ -44,7 +44,7 @@ jobs:
|
|||
id: ccache_cache_timestamp
|
||||
run: |
|
||||
NOW=$(date -u +"%F-%T")
|
||||
echo "::set-output name=timestamp::${NOW}"
|
||||
echo "{timestamp}=${NOW}" >> $GITHUB_OUTPUT
|
||||
- name: ccache cache files
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
|
@ -96,7 +96,7 @@ jobs:
|
|||
id: ccache_cache_timestamp
|
||||
run: |
|
||||
NOW=$(date -u +"%F-%T")
|
||||
echo "::set-output name=timestamp::${NOW}"
|
||||
echo "{timestamp}=${NOW}" >> $GITHUB_OUTPUT
|
||||
- name: ccache cache files
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
|
@ -115,7 +115,7 @@ jobs:
|
|||
Tools/scripts/build_ci.sh
|
||||
|
||||
- name: Archive buildlog artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v3
|
||||
if: failure()
|
||||
with:
|
||||
name: fail-${{matrix.config}}
|
||||
|
@ -129,7 +129,7 @@ jobs:
|
|||
retention-days: 14
|
||||
|
||||
- name: Archive .bin artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: BIN-${{matrix.config}}
|
||||
path: /__w/ardupilot/ardupilot/logs
|
||||
|
@ -150,7 +150,7 @@ jobs:
|
|||
id: ccache_cache_timestamp
|
||||
run: |
|
||||
NOW=$(date -u +"%F-%T")
|
||||
echo "::set-output name=timestamp::${NOW}"
|
||||
echo "{timestamp}=${NOW}" >> $GITHUB_OUTPUT
|
||||
- name: ccache cache files
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
|
@ -190,7 +190,7 @@ jobs:
|
|||
id: ccache_cache_timestamp
|
||||
run: |
|
||||
NOW=$(date -u +"%F-%T")
|
||||
echo "::set-output name=timestamp::${NOW}"
|
||||
echo "{timestamp}=${NOW}" >> $GITHUB_OUTPUT
|
||||
- name: ccache cache files
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
|
@ -209,7 +209,7 @@ jobs:
|
|||
Tools/scripts/build_ci.sh
|
||||
|
||||
- name: Archive buildlog artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v3
|
||||
if: failure()
|
||||
with:
|
||||
name: fail-${{matrix.config}}
|
||||
|
@ -223,7 +223,7 @@ jobs:
|
|||
retention-days: 14
|
||||
|
||||
- name: Archive .bin artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: BIN-${{matrix.config}}
|
||||
path: /__w/ardupilot/ardupilot/logs
|
||||
|
|
|
@ -39,7 +39,7 @@ jobs:
|
|||
id: ccache_cache_timestamp
|
||||
run: |
|
||||
NOW=$(date -u +"%F-%T")
|
||||
echo "::set-output name=timestamp::${NOW}"
|
||||
echo "{timestamp}=${NOW}" >> $GITHUB_OUTPUT
|
||||
- name: ccache cache files
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
|
@ -92,7 +92,7 @@ jobs:
|
|||
id: ccache_cache_timestamp
|
||||
run: |
|
||||
NOW=$(date -u +"%F-%T")
|
||||
echo "::set-output name=timestamp::${NOW}"
|
||||
echo "{timestamp}=${NOW}" >> $GITHUB_OUTPUT
|
||||
- name: ccache cache files
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
|
|
|
@ -44,7 +44,7 @@ jobs:
|
|||
id: ccache_cache_timestamp
|
||||
run: |
|
||||
NOW=$(date -u +"%F-%T")
|
||||
echo "::set-output name=timestamp::${NOW}"
|
||||
echo "{timestamp}=${NOW}" >> $GITHUB_OUTPUT
|
||||
- name: ccache cache files
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
|
@ -91,7 +91,7 @@ jobs:
|
|||
id: ccache_cache_timestamp
|
||||
run: |
|
||||
NOW=$(date -u +"%F-%T")
|
||||
echo "::set-output name=timestamp::${NOW}"
|
||||
echo "{timestamp}=${NOW}" >> $GITHUB_OUTPUT
|
||||
- name: ccache cache files
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
|
@ -110,7 +110,7 @@ jobs:
|
|||
Tools/scripts/build_ci.sh
|
||||
|
||||
- name: Archive buildlog artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v3
|
||||
if: failure()
|
||||
with:
|
||||
name: fail-${{matrix.config}}
|
||||
|
@ -124,7 +124,7 @@ jobs:
|
|||
retention-days: 14
|
||||
|
||||
- name: Archive .bin artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: BIN-${{matrix.config}}
|
||||
path: /__w/ardupilot/ardupilot/logs
|
||||
|
|
|
@ -44,7 +44,7 @@ jobs:
|
|||
id: ccache_cache_timestamp
|
||||
run: |
|
||||
NOW=$(date -u +"%F-%T")
|
||||
echo "::set-output name=timestamp::${NOW}"
|
||||
echo "{timestamp}=${NOW}" >> $GITHUB_OUTPUT
|
||||
- name: ccache cache files
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
|
@ -92,7 +92,7 @@ jobs:
|
|||
id: ccache_cache_timestamp
|
||||
run: |
|
||||
NOW=$(date -u +"%F-%T")
|
||||
echo "::set-output name=timestamp::${NOW}"
|
||||
echo "{timestamp}=${NOW}" >> $GITHUB_OUTPUT
|
||||
- name: ccache cache files
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
|
@ -111,7 +111,7 @@ jobs:
|
|||
Tools/scripts/build_ci.sh
|
||||
|
||||
- name: Archive buildlog artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v3
|
||||
if: failure()
|
||||
with:
|
||||
name: fail-${{matrix.config}}
|
||||
|
@ -125,7 +125,7 @@ jobs:
|
|||
retention-days: 14
|
||||
|
||||
- name: Archive .bin artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: BIN-${{matrix.config}}
|
||||
path: /__w/ardupilot/ardupilot/logs
|
||||
|
|
|
@ -44,7 +44,7 @@ jobs:
|
|||
id: ccache_cache_timestamp
|
||||
run: |
|
||||
NOW=$(date -u +"%F-%T")
|
||||
echo "::set-output name=timestamp::${NOW}"
|
||||
echo "{timestamp}=${NOW}" >> $GITHUB_OUTPUT
|
||||
- name: ccache cache files
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
|
@ -90,7 +90,7 @@ jobs:
|
|||
id: ccache_cache_timestamp
|
||||
run: |
|
||||
NOW=$(date -u +"%F-%T")
|
||||
echo "::set-output name=timestamp::${NOW}"
|
||||
echo "{timestamp}=${NOW}" >> $GITHUB_OUTPUT
|
||||
- name: ccache cache files
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
|
@ -109,7 +109,7 @@ jobs:
|
|||
Tools/scripts/build_ci.sh
|
||||
|
||||
- name: Archive buildlog artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v3
|
||||
if: failure()
|
||||
with:
|
||||
name: fail-${{matrix.config}}
|
||||
|
@ -123,7 +123,7 @@ jobs:
|
|||
retention-days: 14
|
||||
|
||||
- name: Archive .bin artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: BIN-${{matrix.config}}
|
||||
path: /__w/ardupilot/ardupilot/logs
|
||||
|
|
|
@ -44,7 +44,7 @@ jobs:
|
|||
id: ccache_cache_timestamp
|
||||
run: |
|
||||
NOW=$(date -u +"%F-%T")
|
||||
echo "::set-output name=timestamp::${NOW}"
|
||||
echo "{timestamp}=${NOW}" >> $GITHUB_OUTPUT
|
||||
- name: ccache cache files
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
|
@ -90,7 +90,7 @@ jobs:
|
|||
id: ccache_cache_timestamp
|
||||
run: |
|
||||
NOW=$(date -u +"%F-%T")
|
||||
echo "::set-output name=timestamp::${NOW}"
|
||||
echo "{timestamp}=${NOW}" >> $GITHUB_OUTPUT
|
||||
- name: ccache cache files
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
|
@ -109,7 +109,7 @@ jobs:
|
|||
Tools/scripts/build_ci.sh
|
||||
|
||||
- name: Archive buildlog artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v3
|
||||
if: failure()
|
||||
with:
|
||||
name: fail-${{matrix.config}}
|
||||
|
@ -123,7 +123,7 @@ jobs:
|
|||
retention-days: 14
|
||||
|
||||
- name: Archive .bin artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: BIN-${{matrix.config}}
|
||||
path: /__w/ardupilot/ardupilot/logs
|
||||
|
|
|
@ -36,7 +36,7 @@ jobs:
|
|||
id: ccache_cache_timestamp
|
||||
run: |
|
||||
NOW=$(date -u +"%F-%T")
|
||||
echo "::set-output name=timestamp::${NOW}"
|
||||
echo "{timestamp}=${NOW}" >> $GITHUB_OUTPUT
|
||||
- name: ccache cache files
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
|
@ -174,7 +174,7 @@ jobs:
|
|||
zip -r elf_diff.zip elf_diff
|
||||
|
||||
- name: Archive elf_diff output
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: ELF_DIFF_${{matrix.config}}
|
||||
path: elf_diff.zip
|
||||
|
|
|
@ -37,7 +37,7 @@ jobs:
|
|||
id: ccache_cache_timestamp
|
||||
run: |
|
||||
NOW=$(date -u +"%F-%T")
|
||||
echo "::set-output name=timestamp::${NOW}"
|
||||
echo "{timestamp}=${NOW}" >> $GITHUB_OUTPUT
|
||||
- name: ccache cache files
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
|
@ -60,7 +60,7 @@ jobs:
|
|||
Tools/scripts/build_ci.sh
|
||||
|
||||
- name: Archive buildlog artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v3
|
||||
if: failure()
|
||||
with:
|
||||
name: fail-${{ matrix.toolchain }}-${{matrix.config}}
|
||||
|
|
Loading…
Reference in New Issue