Skip to content

Commit

Permalink
Update python_build_wheels.yml
Browse files Browse the repository at this point in the history
clean homebrew cache
  • Loading branch information
lu1and10 authored Sep 18, 2024
1 parent 7438845 commit 347cfb1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/python_build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
CIBW_BEFORE_ALL_MACOS: |
# In order to reinstall a version of GCC compatible with older versions of macOS, we need to first uninstall the existing version.
brew uninstall gcc
brew cleanup -s
rm -rf $(brew --cache)
pkg=$(brew fetch --force --bottle-tag=monterey gcc | grep 'Downloaded to' | cut -d' ' -f3)
brew install $pkg
Expand Down Expand Up @@ -56,6 +58,8 @@ jobs:
CIBW_BEFORE_ALL_MACOS: |
# In order to reinstall a version of GCC compatible with older versions of macOS, we need to first uninstall the existing version.
brew uninstall gcc
brew cleanup -s
rm -rf $(brew --cache)
pkg=$(brew fetch --force --bottle-tag=arm64_monterey gcc | grep 'Downloaded to' | cut -d' ' -f3)
brew install $pkg
Expand Down

0 comments on commit 347cfb1

Please sign in to comment.