Skip to content

Commit

Permalink
build: Fix potential libcrypto lib loading issue for mac runners
Browse files Browse the repository at this point in the history
  • Loading branch information
advancedxy committed Feb 20, 2024
1 parent 7772d4c commit 4d16280
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/actions/setup-macos-builder/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ runs:
unzip $PROTO_ZIP
echo "$HOME/d/protoc/bin" >> $GITHUB_PATH
export PATH=$PATH:$HOME/d/protoc/bin
# install openssl to work with potential issues with libcrypto.dylib loading
# see https://stackoverflow.com/questions/58272830/python-crashing-on-macos-10-15-beta-19a582a-with-usr-lib-libcrypto-dylib for more details
brew install openssl
export DYLD_LIBRARY_PATH=/usr/local/opt/openssl/lib:$DYLD_LIBRARY_PATH
- name: Install JDK ${{inputs.jdk-version}}
uses: actions/setup-java@v4
Expand Down

0 comments on commit 4d16280

Please sign in to comment.