From 187e0471a8340d96d205c6b698b26408f9f7333e Mon Sep 17 00:00:00 2001 From: Sam Ansmink Date: Tue, 14 May 2024 13:04:41 +0200 Subject: [PATCH] Refactor OpenSSL dependency handling in CI workflow --- .github/workflows/_extension_distribution.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/_extension_distribution.yml b/.github/workflows/_extension_distribution.yml index 40f0b43..dcd5e1e 100644 --- a/.github/workflows/_extension_distribution.yml +++ b/.github/workflows/_extension_distribution.yml @@ -168,8 +168,8 @@ jobs: - name: Handle OpenSSL dependency for rust build run: | - ${{ github.workspace }}/vcpkg/vcpkg install openssl - echo "OPENSSL_ROOT_DIR=${{ github.workspace }}/vcpkg/installed/${{ matrix.vcpkg_triplet }}" >> $GITHUB_ENV + cd $VCPKG_ROOT && ./vcpkg install openssl --triplet=${{ matrix.vcpkg_triplet }} + echo "OPENSSL_ROOT_DIR=$VCPKG_ROOT/installed/${{ matrix.vcpkg_triplet }}" >> $GITHUB_ENV echo "OPENSSL_USE_STATIC_LIBS=true" >> $GITHUB_ENV - name: Set Openssl dir