Skip to content

Commit

Permalink
hardcode x86 path
Browse files Browse the repository at this point in the history
  • Loading branch information
jalbrekt85 committed Jan 2, 2024
1 parent 50e9a23 commit 645703b
Showing 1 changed file with 6 additions and 15 deletions.
21 changes: 6 additions & 15 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down

0 comments on commit 645703b

Please sign in to comment.