build: another try to handle python unlink/link due to homebrew

Signed-off-by: deadprogram <ron@hybridgroup.com>
Этот коммит содержится в:
deadprogram 2023-12-18 12:11:01 +01:00 коммит произвёл Ron Evans
родитель de3f0af829
коммит ceeb233ff6

5
.github/workflows/build-macos.yml предоставленный
Просмотреть файл

@ -122,14 +122,11 @@ jobs:
steps:
- name: Set up Homebrew
uses: Homebrew/actions/setup-homebrew@master
with:
cask: false # remove this if you need `brew install --cask`
test-bot: false # remove this if you need `brew test-bot`
- name: Fix Python symlinks
run: |
# Github runners have broken symlinks, so relink
# see: https://github.com/actions/setup-python/issues/577
brew unlink python@3.11
brew list -1 | grep python | while read formula; do brew unlink $formula; brew link --overwrite $formula; done
- name: Install LLVM
run: |
brew install llvm@${{ matrix.version }}