From 645703b46a78df0aa157f9a3729bf5bc2c606b69 Mon Sep 17 00:00:00 2001 From: jalbrekt85 Date: Tue, 2 Jan 2024 15:14:32 -0600 Subject: [PATCH] hardcode x86 path --- .github/workflows/release.yml | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d533adf..8d90d46 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,23 +9,14 @@ jobs: - uses: actions/checkout@v3 - name: Install OpenSSL - run: | - sudo apt-get update - sudo apt-get install -y libssl-dev pkg-config - - - name: Verify OpenSSL Installation - run: | - dpkg -L libssl-dev - pkg-config --modversion openssl - pkg-config --libs --cflags openssl - openssl version + run: sudo apt-get update && sudo apt-get install -y libssl-dev pkg-config - - name: Configure OpenSSL Environment Variables + - name: Set OpenSSL Environment Variables run: | - 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 + 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 + echo "PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig" >> $GITHUB_ENV - name: Cleanup dist directory run: rm -rf dist/