Skip to content

Commit b4efa87

Browse files
authored
Add environment variable to disable Homebrew auto-update (#959)
Prevent Homebrew from auto-updating during package installation.
1 parent c7f0f5c commit b4efa87

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/MacOS build template.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ jobs:
1919
steps:
2020
# --------- Packages & artifacts ---------
2121
- name: Install necessary packages
22+
env:
23+
HOMEBREW_NO_AUTO_UPDATE: 1
2224
run: |
23-
brew update
24-
brew upgrade
2525
brew install ninja zlib
2626
python3 -m venv venv
2727
source venv/bin/activate

0 commit comments

Comments
 (0)