Skip to content

Commit ee685d0

Browse files
gto90claude
andcommitted
ci: Fix macOS hashFiles() failure in Homebrew cache
Replace hashFiles('.github/workflows/ci.yml') with static version key to fix intermittent "Fail to hash files under directory" error on macOS runners (GitHub Actions issues #4134, #3015). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent b2107ed commit ee685d0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
~/Library/Caches/Homebrew
5252
/opt/homebrew/Cellar
5353
/opt/homebrew/opt
54-
key: ${{ github.job }}-brew-${{ hashFiles('.github/workflows/ci.yml') }}
54+
key: ${{ github.job }}-brew-v1
5555
restore-keys: ${{ github.job }}-brew-
5656

5757
- name: Install Homebrew packages
@@ -156,7 +156,7 @@ jobs:
156156
~/Library/Caches/Homebrew
157157
/opt/homebrew/Cellar
158158
/opt/homebrew/opt
159-
key: ${{ github.job }}-brew-${{ hashFiles('.github/workflows/ci.yml') }}
159+
key: ${{ github.job }}-brew-v1
160160

161161
linux-native:
162162
name: 'Ubuntu 22.04 native, Qt GUI, with depends, unit tests, functional tests'

0 commit comments

Comments
 (0)