Skip to content

Commit afa6447

Browse files
authored
[CI] fix homebrew on mac with workaround (#718)
1 parent c43a068 commit afa6447

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/build.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -98,12 +98,19 @@ jobs:
9898
- name: "SCM Checkout"
9999
uses: actions/checkout@v4
100100

101-
- name: Add msbuild to PATH
101+
- name: "Add msbuild to PATH"
102102
if: matrix.build_system == 'vs2019'
103103
uses: microsoft/setup-msbuild@v2
104104
with:
105105
vs-version: '[16.0,17.0)'
106106

107+
- name: "Mac homebrew workaround"
108+
if: matrix.target == 'darwin'
109+
run: |
110+
# see https://github.com/Homebrew/homebrew-core/issues/165793#issuecomment-1989441193
111+
# see https://github.com/Homebrew/brew/blob/master/.github/workflows/tests.yml
112+
brew unlink python && brew link --overwrite python
113+
107114
- name: "Install: Required Dev Packages"
108115
run: |
109116
set -eux

0 commit comments

Comments
 (0)