fix(workflow/build): use brew --prefix instead of hard-coded path

This commit is contained in:
2023-11-15 00:06:21 +00:00
parent f9ee76857f
commit d9d8975d98

View File

@@ -145,7 +145,7 @@ jobs:
run: brew update
- name: Fix system python breaking homebrew
run: >-
find /usr/local/bin -type l
find "$(brew --prefix)/bin" -type l
-ilname '*/Library/Frameworks/Python.framework/*'
-delete
- name: Install dependencies