From 73e04b8164fdcc88fd4d94ebd47893831fa51a6c Mon Sep 17 00:00:00 2001 From: Willem Melching Date: Mon, 4 Jan 2021 21:34:23 +0100 Subject: [PATCH] Fix macOS CI (#19646) * fix macOS ci * no partial matches * Change key old-commit-hash: 278a838231d781282d783405a07be9bde47c8efb --- .github/workflows/test.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index bae646b29c..d1d6913adc 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -70,8 +70,8 @@ jobs: ~/Library/Caches/pipenv /usr/local/Cellar ~/github_brew_cache_entries.txt - key: macos-deps-${{ hashFiles('tools/mac_setup.sh') }} - restore-keys: macos-deps- + key: macos-cache-${{ hashFiles('tools/mac_setup.sh') }} + restore-keys: macos-cache- - name: Brew link restored dependencies if: steps.dependency-cache.outputs.cache-hit == 'true' run: | @@ -92,6 +92,7 @@ jobs: rm -rf "$pkg" fi done + comm -13 <(echo "$EXISTING_CELLAR") <(echo "$new_cellar") | tee ~/github_brew_cache_entries.txt build_webcam: name: build webcam