diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 718b463c1f..2ce7db0334 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -75,6 +75,11 @@ jobs: steps: - uses: actions/checkout@v3 + - name: Remove stray upstream python binary symlinks under /usr/local + run: | + find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete -print + brew unlink python && brew link --overwrite python + - name: Install dependencies run: | brew update