mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
Github Actions MacOS add homebrew caching
This commit is contained in:
9
.github/workflows/compile_macos.yml
vendored
9
.github/workflows/compile_macos.yml
vendored
@@ -24,10 +24,13 @@ jobs:
|
|||||||
|
|
||||||
- uses: actions/cache@v2
|
- uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: ~/Library/Caches/pip
|
path: |
|
||||||
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
|
~/Library/Caches/pip
|
||||||
|
~/Library/Caches/Homebrew
|
||||||
|
/usr/local/Homebrew
|
||||||
|
key: ${{runner.os}}-px4-${{ hashFiles('**/requirements.txt') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-pip-
|
${{runner.os}}-px4-
|
||||||
|
|
||||||
- name: setup
|
- name: setup
|
||||||
run: ./Tools/setup/OSX.sh
|
run: ./Tools/setup/OSX.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user