From 3daef5ebea5f7dac38e50cd57919fc2cb397b908 Mon Sep 17 00:00:00 2001 From: mat <26722564+matcool@users.noreply.github.com> Date: Sun, 8 Dec 2024 17:39:50 -0300 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 38f5f75..d060746 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -58,6 +58,14 @@ jobs: with: key: ${{ matrix.config.id }} + - name: Get x86_64 openssl + if: ${{ matrix.config.id == 'mac' }} + shell: bash + run: | + brew fetch --force --bottle-tag=ventura openssl@3 + brew reinstall $(brew --cache --bottle-tag=ventura openssl@3) + export OPENSSL_DIR="/opt/homebrew/opt/openssl@3" + - name: Build run: | ${{ matrix.config.prebuild }} @@ -76,7 +84,7 @@ jobs: path: ./out/ - name: Setup tmate session - if: ${{ !cancelled() && inputs.debug && matrix.config.id == 'mac' }} + if: ${{ failure() && inputs.debug && matrix.config.id == 'mac' }} uses: mxschmitt/action-tmate@v3 with: limit-access-to-actor: true