Fix macOS CI (#19646)

* fix macOS ci

* no partial matches

* Change key
old-commit-hash: 278a838231d781282d783405a07be9bde47c8efb
This commit is contained in:
Willem Melching
2021-01-04 21:34:23 +01:00
committed by GitHub
parent d572cd31cb
commit 73e04b8164

View File

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