diff --git a/.github/workflows/keyvi.yml b/.github/workflows/keyvi.yml index 1d3c97522..2024dd91a 100644 --- a/.github/workflows/keyvi.yml +++ b/.github/workflows/keyvi.yml @@ -31,6 +31,8 @@ jobs: if: runner.os == 'macOS' run: | brew update + # workaround for https://github.com/actions/setup-python/issues/577 + brew list -1 | grep python | while read formula; do brew unlink $formula; brew link --overwrite $formula; done brew install zlib snappy boost - name: checkout from git uses: actions/checkout@v4 diff --git a/.github/workflows/python-cibuildwheel.yml b/.github/workflows/python-cibuildwheel.yml index 177bd90e1..8b8491cb9 100644 --- a/.github/workflows/python-cibuildwheel.yml +++ b/.github/workflows/python-cibuildwheel.yml @@ -74,8 +74,10 @@ jobs: - name: install mac dependencies if: ${{ runner.os == 'macOS' }} + # 2nd command: workaround https://github.com/actions/setup-python/issues/577 run: | brew update && \ + brew list -1 | grep python | while read formula; do brew unlink $formula; brew link --overwrite $formula; done && \ brew install ccache - name: install mac dependencies X86_64