diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b5d94aba..701656a1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -145,6 +145,20 @@ jobs: virtualenvs-create: false virtualenvs-in-project: false + - name: Configure Homebrew + uses: Homebrew/actions/setup-homebrew@master + + - name: Install Dependencies + env: + HOMEBREW_NO_AUTO_UPDATE: 1 + HOMEBREW_NO_INSTALL_CLEANUP: 1 # Do not run brew cleanup automatically. + HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: 1 # Do not automatically update packages. + run: | + brew install openssl@3 + ln -sf $(brew --prefix openssl)/include/openssl /usr/local/include/openssl + ln -sf $(brew --prefix openssl)/lib/*a /usr/local/lib/ + ln -sf $(brew --prefix openssl)/lib/*dylib /usr/local/lib/ + - name: Build wheels uses: pypa/cibuildwheel@v2.16.2 env: