From 347cfb1703032a509aed1ad560c7c6f593689fa3 Mon Sep 17 00:00:00 2001 From: Libin Lu Date: Tue, 17 Sep 2024 20:11:16 -0400 Subject: [PATCH] Update python_build_wheels.yml clean homebrew cache --- .github/workflows/python_build_wheels.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/python_build_wheels.yml b/.github/workflows/python_build_wheels.yml index 455764213..08d0f943c 100644 --- a/.github/workflows/python_build_wheels.yml +++ b/.github/workflows/python_build_wheels.yml @@ -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 @@ -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