Skip to content

Commit

Permalink
CI: update github action to remove deprecation warnings from logs
Browse files Browse the repository at this point in the history
  • Loading branch information
khancyr authored and Lokesh-Carbonix committed Nov 20, 2023
1 parent 9821011 commit 76c02a3
Show file tree
Hide file tree
Showing 14 changed files with 39 additions and 39 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/cygwin_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/macos_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_chibios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_linux_sbc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_replay.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,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:
Expand All @@ -55,7 +55,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}}
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/test_sitl_copter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,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:
Expand Down Expand Up @@ -81,7 +81,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:
Expand All @@ -100,7 +100,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}}
Expand All @@ -114,7 +114,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
Expand All @@ -135,7 +135,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:
Expand Down Expand Up @@ -175,7 +175,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:
Expand All @@ -194,7 +194,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}}
Expand All @@ -208,7 +208,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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_sitl_periph.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,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:
Expand Down Expand Up @@ -75,7 +75,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:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test_sitl_plane.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,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:
Expand Down Expand Up @@ -76,7 +76,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:
Expand All @@ -95,7 +95,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}}
Expand All @@ -109,7 +109,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
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test_sitl_rover.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,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:
Expand Down Expand Up @@ -77,7 +77,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:
Expand All @@ -96,7 +96,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}}
Expand All @@ -110,7 +110,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
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test_sitl_sub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,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:
Expand Down Expand Up @@ -75,7 +75,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:
Expand All @@ -94,7 +94,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}}
Expand All @@ -108,7 +108,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
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test_sitl_tracker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,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:
Expand Down Expand Up @@ -75,7 +75,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:
Expand All @@ -94,7 +94,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}}
Expand All @@ -108,7 +108,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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -166,7 +166,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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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}}
Expand Down

0 comments on commit 76c02a3

Please sign in to comment.