mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
Github Actions MacOS add homebrew caching
This commit is contained in:
parent
033c5d0110
commit
7404e886fe
9
.github/workflows/compile_macos.yml
vendored
9
.github/workflows/compile_macos.yml
vendored
@ -24,10 +24,13 @@ jobs:
|
||||
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/Library/Caches/pip
|
||||
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
|
||||
path: |
|
||||
~/Library/Caches/pip
|
||||
~/Library/Caches/Homebrew
|
||||
/usr/local/Homebrew
|
||||
key: ${{runner.os}}-px4-${{ hashFiles('**/requirements.txt') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-pip-
|
||||
${{runner.os}}-px4-
|
||||
|
||||
- name: setup
|
||||
run: ./Tools/setup/OSX.sh
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user