mirror of https://github.com/ArduPilot/ardupilot
.github: only do restore cache on sitl tests
This commit is contained in:
parent
9879d6651e
commit
b3f06651cf
|
@ -99,7 +99,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/restore@v3
|
||||||
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}}
|
||||||
|
@ -195,7 +195,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/restore@v3
|
||||||
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}}
|
||||||
|
|
|
@ -94,7 +94,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/restore@v3
|
||||||
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}}
|
||||||
|
|
|
@ -95,7 +95,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/restore@v3
|
||||||
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}}
|
||||||
|
|
|
@ -93,7 +93,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/restore@v3
|
||||||
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}}
|
||||||
|
|
|
@ -93,7 +93,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/restore@v3
|
||||||
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}}
|
||||||
|
|
Loading…
Reference in New Issue