From e31c8f8ad5b56186f3f87888ec7d0438d3eec610 Mon Sep 17 00:00:00 2001 From: Miguel Company Date: Tue, 26 Sep 2023 12:44:30 +0200 Subject: [PATCH] Refs #19578. Add OpenSSL to path on previous step. Signed-off-by: Miguel Company --- .github/workflows/reusable-windows-ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/reusable-windows-ci.yml b/.github/workflows/reusable-windows-ci.yml index 6b066bf78f1..f2eb229eed4 100644 --- a/.github/workflows/reusable-windows-ci.yml +++ b/.github/workflows/reusable-windows-ci.yml @@ -208,6 +208,10 @@ jobs: # Update the environment "OPENSSL64_ROOT=$Env:ProgramW6432\OpenSSL" | Out-File $Env:GITHUB_ENV -Append -Encoding OEM + - name: Add OpenSSL to system path + run: | + $Env:Path += ";" + (Join-Path $Env:OPENSSL64_ROOT bin) + - name: Update known hosts file for DNS resolver testing if: ${{ !contains(github.event.pull_request.labels.*.name, 'no-test') }} run: | @@ -284,7 +288,6 @@ jobs: $Env:SOFTHSM2_CONF = (gci -Path $Env:SOFTHSM2_ROOT -R -Filter *.conf | select -First 1).fullname $Env:Path += ($env:Path[-1] -ne ';' ? ';' : $null) + (Join-Path $Env:SOFTHSM2_ROOT bin) $Env:Path += ";" + (Join-Path $Env:SOFTHSM2_ROOT lib) - $Env:Path += ";" + (Join-Path $Env:OPENSSL64_ROOT bin) $Env:Path += ";" + $libp11_path # Set up OpenSSL