pin openssl3 in macos builds (#12959)

This commit is contained in:
Jack Amadeo 2026-10-16 15:15:15 +00:00 • committed by GitHub
parent 1de2f75742
commit 1b12093f06
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -131,13 +131,15 @@ jobs:
- name: Cache Rust dependencies
uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
with:
key: ${{ inputs.target == 'x86_64-apple-darwin' && 'intel-macos-deployment-target-12' || 'macos-deployment-target-12' }}
key: ${{ inputs.target == 'x86_64-apple-darwin' && 'intel-macos-deployment-target-12-openssl3' || 'macos-deployment-target-12-openssl3' }}
- name: Build goose
env:
TARGET: ${{ inputs.target }}
run: |
source ./bin/activate-hermit
brew install openssl@3
export OPENSSL_ROOT_DIR="$(brew --prefix openssl@3)"
rustup target add "$TARGET"
cargo build --release -p goose-cli --bin goose --target "$TARGET"