From 2a9e7b35579f5a2f9f184b49afe1d34579d81b12 Mon Sep 17 00:00:00 2001 From: Jason I Date: Fri, 13 Jan 2023 20:24:05 -0800 Subject: [PATCH] chore: use separate env vars --- .github/workflows/ci.yml | 3 ++- .github/workflows/release.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 75e073b6..41014a30 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -57,7 +57,8 @@ jobs: run: | # see # see https://github.dev/sfackler/rust-openssl/blob/2e986986784f0136d6666a0ef354ff6bafee63eb/openssl/src/lib.rs#L62-L63 export OPENSSL_STATIC=1 - export OPENSSL_DIR=/usr/local + export OPENSSL_INCLUDE_DIR=/usr/local/include + export OPENSSL_LIB_DIR=/usr/local/lib - uses: actions-rs/toolchain@v1 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d5758272..6127100d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -80,7 +80,8 @@ jobs: run: | # see https://github.dev/sfackler/rust-openssl/blob/2e986986784f0136d6666a0ef354ff6bafee63eb/openssl/src/lib.rs#L62-L63 export OPENSSL_STATIC=1 - export OPENSSL_DIR=/usr/local + export OPENSSL_INCLUDE_DIR=/usr/local/include + export OPENSSL_LIB_DIR=/usr/local/lib - name: Install toolchain (Linux static) if: matrix.name == 'linux'