Skip to content

Commit d294b07

Browse files
SAtackervgvassilev
authored andcommitted
[CI] Fix macOS brew upgrade failing
Signed-off-by: Shreyas Atre <shreyasatre16@gmail.com>
1 parent 47ca167 commit d294b07

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,11 @@ jobs:
264264
#Select latest xcode available on macos-13
265265
sudo xcode-select -s /Applications/Xcode_15.1.app/Contents/Developer
266266
brew update
267+
# workaround for https://github.com/actions/setup-python/issues/577
268+
for pkg in $(brew list | grep '^python@'); do
269+
brew unlink "$pkg"
270+
brew link --overwrite "$pkg"
271+
done
267272
brew upgrade
268273
pip install distro pytest
269274

0 commit comments

Comments
 (0)