From 49eebcf9815a2ce1a9cdbbf199b9973f37901896 Mon Sep 17 00:00:00 2001 From: jalbrekt85 Date: Tue, 26 Dec 2023 16:19:24 -0600 Subject: [PATCH] set openssl env --- .github/workflows/release.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bf70c08..8d2e18c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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