Skip to content

Commit 7e90889

Browse files
committed
fix: include /opt/homebrew/opt in Homebrew cache paths
The cache restored Cellar, lib, and include but not opt/, where the symlinks that brew --prefix returns live. Without opt/, the Mesa libEGL path check fails even though the underlying Cellar files are present. Also switch to a static cache key (v1) so workflow edits don't invalidate the cache.
1 parent 2942d4f commit 7e90889

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/macos-build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,10 @@ jobs:
7676
with:
7777
path: |
7878
/opt/homebrew/Cellar
79+
/opt/homebrew/opt
7980
/opt/homebrew/lib
8081
/opt/homebrew/include
81-
key: brew-macos-arm64-${{ hashFiles('.github/workflows/macos-build.yml') }}
82+
key: brew-macos-arm64-v1
8283
restore-keys: |
8384
brew-macos-arm64-
8485

0 commit comments

Comments
 (0)