From 7404e886feae16009166d30a7202e412bdc6250e Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Mon, 22 Jun 2020 15:42:14 -0400 Subject: [PATCH] Github Actions MacOS add homebrew caching --- .github/workflows/compile_macos.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/compile_macos.yml b/.github/workflows/compile_macos.yml index 2e9d5ecd57..0cb1fddd28 100644 --- a/.github/workflows/compile_macos.yml +++ b/.github/workflows/compile_macos.yml @@ -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