Skip to content

Commit 53eddf0

Browse files
committed
ci: avoid brew creating noisy annotations
1 parent 74f366f commit 53eddf0

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/generic.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ jobs:
116116
# Download the key to system keyring
117117
wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB \
118118
| gpg --dearmor | sudo tee /usr/share/keyrings/oneapi-archive-keyring.gpg > /dev/null
119-
119+
120120
# Add signed entry to apt sources and configure the APT client to use Intel repository:
121121
echo "deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg] https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list
122122
@@ -138,9 +138,13 @@ jobs:
138138
- name: 'Install brew packages'
139139
if: ${{ matrix.platform.brew-packages != '' }}
140140
run: |
141-
export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1
142-
brew update
143-
brew install ${{ matrix.platform.brew-packages }}
141+
# Unset these GitHub environment variable to keep brew from emitting a few noisy annotions
142+
unset GITHUB_ACTIONS
143+
unset GITHUB_OUTPUT
144+
unset GITHUB_PATH
145+
146+
brew update --auto-update
147+
brew install --quiet ${{ matrix.platform.brew-packages }}
144148
- name: 'Setup Python'
145149
uses: 'actions/setup-python@main'
146150
if: ${{ matrix.platform.setup-python }}

0 commit comments

Comments
 (0)