Skip to content

Commit 4f6029a

Browse files
committed
Try to fix OpenSSL linking under Windows CI
It doesn't seem to be pre-installed any more. Try installing binaries with choco instead of building it from scratch.
1 parent ec74e16 commit 4f6029a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/rust.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@ jobs:
1818

1919
steps:
2020
- uses: actions/checkout@v3
21-
- name: Set OPENSSL_DIR for Windows
21+
- name: Install OpenSSL
22+
if: startsWith(matrix.os, 'windows')
23+
run: choco install openssl -y --no-progress
24+
- name: Configure OpenSSL link path
2225
if: startsWith(matrix.os, 'windows')
2326
run: echo "OPENSSL_DIR=C:\Program Files\OpenSSL" >> $env:GITHUB_ENV
2427
- name: Build

0 commit comments

Comments
 (0)