Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
matcool authored Dec 8, 2024
1 parent 2d01a02 commit 3daef5e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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
Expand Down

0 comments on commit 3daef5e

Please sign in to comment.