CI: update github action to remove deprecation warnings from logs

This commit is contained in:
Pierre Kancir 2023-01-16 16:28:24 +01:00 committed by Peter Barker
parent 14889ed789
commit 161d360dc3
14 changed files with 39 additions and 39 deletions

View File

@ -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

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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}}

View File

@ -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

View File

@ -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:

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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}}