Skip to content

Commit

Permalink
set openssl env
Browse files Browse the repository at this point in the history
  • Loading branch information
jalbrekt85 committed Dec 26, 2023
1 parent 7674aef commit 49eebcf
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,14 @@ jobs:
run: sudo apt-get update && sudo apt-get install -y libssl-dev pkg-config
- name: Verify OpenSSL Installation
run: |
dpkg -L libssl-dev # Lists files provided by the package
pkg-config --modversion openssl # Shows version of openssl
pkg-config --libs --cflags openssl # Shows library and include paths
dpkg -L libssl-dev
pkg-config --modversion openssl
pkg-config --libs --cflags openssl
- name: Configure OpenSSL Environment Variables
run: |
echo "OPENSSL_DIR=/usr" >> $GITHUB_ENV
echo "OPENSSL_LIB_DIR=/usr/lib/x86_64-linux-gnu" >> $GITHUB_ENV
echo "OPENSSL_INCLUDE_DIR=/usr/include/openssl" >> $GITHUB_ENV
- name: Cleanup dist directory
run: rm -rf dist/
- uses: messense/maturin-action@v1
Expand Down

0 comments on commit 49eebcf

Please sign in to comment.