Github Actions MacOS add homebrew caching

This commit is contained in:
Daniel Agar 2020-06-22 15:42:14 -04:00 committed by GitHub
parent 033c5d0110
commit 7404e886fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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