mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-02 22:18:28 -04:00
.github: update actions/cache to v4 to remove node version warning
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3.
This commit is contained in:
parent
38484b49ee
commit
b353765db1
2
.github/workflows/colcon.yml
vendored
2
.github/workflows/colcon.yml
vendored
@ -156,7 +156,7 @@ jobs:
|
|||||||
NOW=$(date -u +"%F-%T")
|
NOW=$(date -u +"%F-%T")
|
||||||
echo "timestamp=${NOW}" >> $GITHUB_OUTPUT
|
echo "timestamp=${NOW}" >> $GITHUB_OUTPUT
|
||||||
- name: ccache cache files
|
- name: ccache cache files
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/.ccache
|
path: ~/.ccache
|
||||||
key: ${{github.workflow}}-ccache-${{steps.ccache_cache_timestamp.outputs.timestamp}}
|
key: ${{github.workflow}}-ccache-${{steps.ccache_cache_timestamp.outputs.timestamp}}
|
||||||
|
2
.github/workflows/cygwin_build.yml
vendored
2
.github/workflows/cygwin_build.yml
vendored
@ -177,7 +177,7 @@ jobs:
|
|||||||
source ~/ccache.conf &&
|
source ~/ccache.conf &&
|
||||||
ccache -s
|
ccache -s
|
||||||
- name: ccache cache files
|
- name: ccache cache files
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: D:/a/ardupilot/ardupilot/ccache
|
path: D:/a/ardupilot/ardupilot/ccache
|
||||||
key: ${{ steps.ccache_cache_timestamp.outputs.cache-key }}-ccache-${{steps.ccache_cache_timestamp.outputs.timestamp}}
|
key: ${{ steps.ccache_cache_timestamp.outputs.cache-key }}-ccache-${{steps.ccache_cache_timestamp.outputs.timestamp}}
|
||||||
|
2
.github/workflows/macos_build.yml
vendored
2
.github/workflows/macos_build.yml
vendored
@ -169,7 +169,7 @@ jobs:
|
|||||||
NOW=$(date -u +"%F-%T")
|
NOW=$(date -u +"%F-%T")
|
||||||
echo "timestamp=${NOW}" >> $GITHUB_OUTPUT
|
echo "timestamp=${NOW}" >> $GITHUB_OUTPUT
|
||||||
- name: ccache cache files
|
- name: ccache cache files
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/.ccache
|
path: ~/.ccache
|
||||||
key: ${{github.workflow}}-ccache-${{matrix.config}}-${{steps.ccache_cache_timestamp.outputs.timestamp}}
|
key: ${{github.workflow}}-ccache-${{matrix.config}}-${{steps.ccache_cache_timestamp.outputs.timestamp}}
|
||||||
|
2
.github/workflows/test_chibios.yml
vendored
2
.github/workflows/test_chibios.yml
vendored
@ -182,7 +182,7 @@ jobs:
|
|||||||
NOW=$(date -u +"%F-%T")
|
NOW=$(date -u +"%F-%T")
|
||||||
echo "timestamp=${NOW}" >> $GITHUB_OUTPUT
|
echo "timestamp=${NOW}" >> $GITHUB_OUTPUT
|
||||||
- name: ccache cache files
|
- name: ccache cache files
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/.ccache
|
path: ~/.ccache
|
||||||
key: ${{github.workflow}}-ccache-${{matrix.config}}-${{ matrix.toolchain }}-${{ matrix.gcc }}-${{steps.ccache_cache_timestamp.outputs.timestamp}}
|
key: ${{github.workflow}}-ccache-${{matrix.config}}-${{ matrix.toolchain }}-${{ matrix.gcc }}-${{steps.ccache_cache_timestamp.outputs.timestamp}}
|
||||||
|
2
.github/workflows/test_coverage.yml
vendored
2
.github/workflows/test_coverage.yml
vendored
@ -48,7 +48,7 @@ jobs:
|
|||||||
NOW=$(date -u +"%F-%T")
|
NOW=$(date -u +"%F-%T")
|
||||||
echo "timestamp=${NOW}" >> $GITHUB_OUTPUT
|
echo "timestamp=${NOW}" >> $GITHUB_OUTPUT
|
||||||
- name: ccache cache files
|
- name: ccache cache files
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/.ccache
|
path: ~/.ccache
|
||||||
key: ${{github.workflow}}-ccache-${{ matrix.toolchain }}-${{steps.ccache_cache_timestamp.outputs.timestamp}}
|
key: ${{github.workflow}}-ccache-${{ matrix.toolchain }}-${{steps.ccache_cache_timestamp.outputs.timestamp}}
|
||||||
|
2
.github/workflows/test_dds.yml
vendored
2
.github/workflows/test_dds.yml
vendored
@ -161,7 +161,7 @@ jobs:
|
|||||||
NOW=$(date -u +"%F-%T")
|
NOW=$(date -u +"%F-%T")
|
||||||
echo "timestamp=${NOW}" >> $GITHUB_OUTPUT
|
echo "timestamp=${NOW}" >> $GITHUB_OUTPUT
|
||||||
- name: ccache cache files
|
- name: ccache cache files
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/.ccache
|
path: ~/.ccache
|
||||||
key: ${{github.workflow}}-ccache-${{ matrix.config }}-${{steps.ccache_cache_timestamp.outputs.timestamp}}
|
key: ${{github.workflow}}-ccache-${{ matrix.config }}-${{steps.ccache_cache_timestamp.outputs.timestamp}}
|
||||||
|
2
.github/workflows/test_linux_sbc.yml
vendored
2
.github/workflows/test_linux_sbc.yml
vendored
@ -181,7 +181,7 @@ jobs:
|
|||||||
NOW=$(date -u +"%F-%T")
|
NOW=$(date -u +"%F-%T")
|
||||||
echo "timestamp=${NOW}" >> $GITHUB_OUTPUT
|
echo "timestamp=${NOW}" >> $GITHUB_OUTPUT
|
||||||
- name: ccache cache files
|
- name: ccache cache files
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/.ccache
|
path: ~/.ccache
|
||||||
key: ${{github.workflow}}-ccache-${{matrix.config}}-${{ matrix.toolchain }}-${{steps.ccache_cache_timestamp.outputs.timestamp}}
|
key: ${{github.workflow}}-ccache-${{matrix.config}}-${{ matrix.toolchain }}-${{steps.ccache_cache_timestamp.outputs.timestamp}}
|
||||||
|
2
.github/workflows/test_replay.yml
vendored
2
.github/workflows/test_replay.yml
vendored
@ -170,7 +170,7 @@ jobs:
|
|||||||
NOW=$(date -u +"%F-%T")
|
NOW=$(date -u +"%F-%T")
|
||||||
echo "timestamp=${NOW}" >> $GITHUB_OUTPUT
|
echo "timestamp=${NOW}" >> $GITHUB_OUTPUT
|
||||||
- name: ccache cache files
|
- name: ccache cache files
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/.ccache
|
path: ~/.ccache
|
||||||
key: ${{github.workflow}}-ccache-${{ matrix.toolchain }}-${{steps.ccache_cache_timestamp.outputs.timestamp}}
|
key: ${{github.workflow}}-ccache-${{ matrix.toolchain }}-${{steps.ccache_cache_timestamp.outputs.timestamp}}
|
||||||
|
2
.github/workflows/test_sitl_blimp.yml
vendored
2
.github/workflows/test_sitl_blimp.yml
vendored
@ -182,7 +182,7 @@ jobs:
|
|||||||
NOW=$(date -u +"%F-%T")
|
NOW=$(date -u +"%F-%T")
|
||||||
echo "timestamp=${NOW}" >> $GITHUB_OUTPUT
|
echo "timestamp=${NOW}" >> $GITHUB_OUTPUT
|
||||||
- name: ccache cache files
|
- name: ccache cache files
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/.ccache
|
path: ~/.ccache
|
||||||
key: ${{github.workflow}}-ccache-${{ matrix.toolchain }}-${{steps.ccache_cache_timestamp.outputs.timestamp}}
|
key: ${{github.workflow}}-ccache-${{ matrix.toolchain }}-${{steps.ccache_cache_timestamp.outputs.timestamp}}
|
||||||
|
4
.github/workflows/test_sitl_copter.yml
vendored
4
.github/workflows/test_sitl_copter.yml
vendored
@ -181,7 +181,7 @@ jobs:
|
|||||||
NOW=$(date -u +"%F-%T")
|
NOW=$(date -u +"%F-%T")
|
||||||
echo "timestamp=${NOW}" >> $GITHUB_OUTPUT
|
echo "timestamp=${NOW}" >> $GITHUB_OUTPUT
|
||||||
- name: ccache cache files
|
- name: ccache cache files
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/.ccache
|
path: ~/.ccache
|
||||||
key: ${{github.workflow}}-ccache-${{ matrix.toolchain }}-${{steps.ccache_cache_timestamp.outputs.timestamp}}
|
key: ${{github.workflow}}-ccache-${{ matrix.toolchain }}-${{steps.ccache_cache_timestamp.outputs.timestamp}}
|
||||||
@ -302,7 +302,7 @@ jobs:
|
|||||||
NOW=$(date -u +"%F-%T")
|
NOW=$(date -u +"%F-%T")
|
||||||
echo "timestamp=${NOW}" >> $GITHUB_OUTPUT
|
echo "timestamp=${NOW}" >> $GITHUB_OUTPUT
|
||||||
- name: ccache cache files
|
- name: ccache cache files
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/.ccache
|
path: ~/.ccache
|
||||||
key: ${{github.workflow}}-ccache-base-${{steps.ccache_cache_timestamp.outputs.timestamp}}
|
key: ${{github.workflow}}-ccache-base-${{steps.ccache_cache_timestamp.outputs.timestamp}}
|
||||||
|
4
.github/workflows/test_sitl_periph.yml
vendored
4
.github/workflows/test_sitl_periph.yml
vendored
@ -172,7 +172,7 @@ jobs:
|
|||||||
NOW=$(date -u +"%F-%T")
|
NOW=$(date -u +"%F-%T")
|
||||||
echo "timestamp=${NOW}" >> $GITHUB_OUTPUT
|
echo "timestamp=${NOW}" >> $GITHUB_OUTPUT
|
||||||
- name: ccache cache files
|
- name: ccache cache files
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/.ccache
|
path: ~/.ccache
|
||||||
key: ${{github.workflow}}-ccache-${{steps.ccache_cache_timestamp.outputs.timestamp}}
|
key: ${{github.workflow}}-ccache-${{steps.ccache_cache_timestamp.outputs.timestamp}}
|
||||||
@ -222,7 +222,7 @@ jobs:
|
|||||||
NOW=$(date -u +"%F-%T")
|
NOW=$(date -u +"%F-%T")
|
||||||
echo "timestamp=${NOW}" >> $GITHUB_OUTPUT
|
echo "timestamp=${NOW}" >> $GITHUB_OUTPUT
|
||||||
- name: ccache cache files
|
- name: ccache cache files
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/.ccache
|
path: ~/.ccache
|
||||||
key: ${{github.workflow}}-ccache-${{steps.ccache_cache_timestamp.outputs.timestamp}}
|
key: ${{github.workflow}}-ccache-${{steps.ccache_cache_timestamp.outputs.timestamp}}
|
||||||
|
2
.github/workflows/test_sitl_plane.yml
vendored
2
.github/workflows/test_sitl_plane.yml
vendored
@ -181,7 +181,7 @@ jobs:
|
|||||||
NOW=$(date -u +"%F-%T")
|
NOW=$(date -u +"%F-%T")
|
||||||
echo "timestamp=${NOW}" >> $GITHUB_OUTPUT
|
echo "timestamp=${NOW}" >> $GITHUB_OUTPUT
|
||||||
- name: ccache cache files
|
- name: ccache cache files
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/.ccache
|
path: ~/.ccache
|
||||||
key: ${{github.workflow}}-ccache-${{ matrix.toolchain }}-${{steps.ccache_cache_timestamp.outputs.timestamp}}
|
key: ${{github.workflow}}-ccache-${{ matrix.toolchain }}-${{steps.ccache_cache_timestamp.outputs.timestamp}}
|
||||||
|
2
.github/workflows/test_sitl_rover.yml
vendored
2
.github/workflows/test_sitl_rover.yml
vendored
@ -180,7 +180,7 @@ jobs:
|
|||||||
NOW=$(date -u +"%F-%T")
|
NOW=$(date -u +"%F-%T")
|
||||||
echo "timestamp=${NOW}" >> $GITHUB_OUTPUT
|
echo "timestamp=${NOW}" >> $GITHUB_OUTPUT
|
||||||
- name: ccache cache files
|
- name: ccache cache files
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/.ccache
|
path: ~/.ccache
|
||||||
key: ${{github.workflow}}-ccache-${{ matrix.toolchain }}-${{steps.ccache_cache_timestamp.outputs.timestamp}}
|
key: ${{github.workflow}}-ccache-${{ matrix.toolchain }}-${{steps.ccache_cache_timestamp.outputs.timestamp}}
|
||||||
|
2
.github/workflows/test_sitl_sub.yml
vendored
2
.github/workflows/test_sitl_sub.yml
vendored
@ -184,7 +184,7 @@ jobs:
|
|||||||
NOW=$(date -u +"%F-%T")
|
NOW=$(date -u +"%F-%T")
|
||||||
echo "timestamp=${NOW}" >> $GITHUB_OUTPUT
|
echo "timestamp=${NOW}" >> $GITHUB_OUTPUT
|
||||||
- name: ccache cache files
|
- name: ccache cache files
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/.ccache
|
path: ~/.ccache
|
||||||
key: ${{github.workflow}}-ccache-${{ matrix.toolchain }}-${{steps.ccache_cache_timestamp.outputs.timestamp}}
|
key: ${{github.workflow}}-ccache-${{ matrix.toolchain }}-${{steps.ccache_cache_timestamp.outputs.timestamp}}
|
||||||
|
2
.github/workflows/test_sitl_tracker.yml
vendored
2
.github/workflows/test_sitl_tracker.yml
vendored
@ -183,7 +183,7 @@ jobs:
|
|||||||
NOW=$(date -u +"%F-%T")
|
NOW=$(date -u +"%F-%T")
|
||||||
echo "timestamp=${NOW}" >> $GITHUB_OUTPUT
|
echo "timestamp=${NOW}" >> $GITHUB_OUTPUT
|
||||||
- name: ccache cache files
|
- name: ccache cache files
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/.ccache
|
path: ~/.ccache
|
||||||
key: ${{github.workflow}}-ccache-${{ matrix.toolchain }}-${{steps.ccache_cache_timestamp.outputs.timestamp}}
|
key: ${{github.workflow}}-ccache-${{ matrix.toolchain }}-${{steps.ccache_cache_timestamp.outputs.timestamp}}
|
||||||
|
2
.github/workflows/test_size.yml
vendored
2
.github/workflows/test_size.yml
vendored
@ -97,7 +97,7 @@ jobs:
|
|||||||
NOW=$(date -u +"%F-%T")
|
NOW=$(date -u +"%F-%T")
|
||||||
echo "timestamp=${NOW}" >> $GITHUB_OUTPUT
|
echo "timestamp=${NOW}" >> $GITHUB_OUTPUT
|
||||||
- name: ccache cache files
|
- name: ccache cache files
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/.ccache
|
path: ~/.ccache
|
||||||
key: ${{github.workflow}}-ccache-${{ matrix.toolchain }}-${{steps.ccache_cache_timestamp.outputs.timestamp}}
|
key: ${{github.workflow}}-ccache-${{ matrix.toolchain }}-${{steps.ccache_cache_timestamp.outputs.timestamp}}
|
||||||
|
2
.github/workflows/test_unit_tests.yml
vendored
2
.github/workflows/test_unit_tests.yml
vendored
@ -126,7 +126,7 @@ jobs:
|
|||||||
NOW=$(date -u +"%F-%T")
|
NOW=$(date -u +"%F-%T")
|
||||||
echo "timestamp=${NOW}" >> $GITHUB_OUTPUT
|
echo "timestamp=${NOW}" >> $GITHUB_OUTPUT
|
||||||
- name: ccache cache files
|
- name: ccache cache files
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/.ccache
|
path: ~/.ccache
|
||||||
key: ${{github.workflow}}-ccache-${{ matrix.toolchain }}-${{steps.ccache_cache_timestamp.outputs.timestamp}}
|
key: ${{github.workflow}}-ccache-${{ matrix.toolchain }}-${{steps.ccache_cache_timestamp.outputs.timestamp}}
|
||||||
|
Loading…
Reference in New Issue
Block a user