mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-28 19:32:36 +08:00
Github Actions remove MacOS homebrew cache
- it's large and takes as much time saving/restoring the cache as it saves
This commit is contained in:
@@ -22,16 +22,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
token: ${{secrets.ACCESS_TOKEN}}
|
token: ${{secrets.ACCESS_TOKEN}}
|
||||||
|
|
||||||
- uses: actions/cache@v2
|
|
||||||
with:
|
|
||||||
path: |
|
|
||||||
~/Library/Caches/pip
|
|
||||||
~/Library/Caches/Homebrew
|
|
||||||
/usr/local/Homebrew
|
|
||||||
key: ${{runner.os}}-px4-${{ hashFiles('**/requirements.txt') }}
|
|
||||||
restore-keys: |
|
|
||||||
${{runner.os}}-px4-
|
|
||||||
|
|
||||||
- name: setup
|
- name: setup
|
||||||
run: ./Tools/setup/OSX.sh
|
run: ./Tools/setup/OSX.sh
|
||||||
|
|
||||||
@@ -45,8 +35,8 @@ jobs:
|
|||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: ~/.ccache
|
path: ~/.ccache
|
||||||
key: ${{matrix.config}}-ccache-${{steps.ccache_cache_timestamp.outputs.timestamp}}
|
key: macos_${{matrix.config}}-ccache-${{steps.ccache_cache_timestamp.outputs.timestamp}}
|
||||||
restore-keys: ${{matrix.config}}-ccache-
|
restore-keys: macos_${{matrix.config}}-ccache-
|
||||||
- name: setup ccache
|
- name: setup ccache
|
||||||
run: |
|
run: |
|
||||||
mkdir -p ~/.ccache
|
mkdir -p ~/.ccache
|
||||||
|
|||||||
Reference in New Issue
Block a user