Skip to content

Commit

Permalink
add pkg config path
Browse files Browse the repository at this point in the history
  • Loading branch information
jalbrekt85 committed Jan 2, 2024
1 parent dfde84c commit 50e9a23
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ jobs:
- uses: actions/checkout@v3

- name: Install OpenSSL
run: sudo apt-get update && sudo apt-get install -y libssl-dev pkg-config
run: |
sudo apt-get update
sudo apt-get install -y libssl-dev pkg-config
- name: Verify OpenSSL Installation
run: |
Expand All @@ -23,6 +25,7 @@ jobs:
echo "OPENSSL_DIR=$(pkg-config --variable=prefix openssl)" >> $GITHUB_ENV
echo "OPENSSL_LIB_DIR=$(pkg-config --variable=libdir openssl)" >> $GITHUB_ENV
echo "OPENSSL_INCLUDE_DIR=$(pkg-config --variable=includedir openssl)" >> $GITHUB_ENV
echo "PKG_CONFIG_PATH=$OPENSSL_LIB_DIR/pkgconfig" >> $GITHUB_ENV
- name: Cleanup dist directory
run: rm -rf dist/
Expand Down

0 comments on commit 50e9a23

Please sign in to comment.