1
0
mirror of https://github.com/fafhrd91/actix-net synced 2024-11-27 18:02:58 +01:00

ci: try to fix master jobs on windows

This commit is contained in:
Rob Ede 2023-07-18 02:06:01 +01:00
parent e539f83615
commit 462ab6a4f0
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933

View File

@ -39,10 +39,12 @@ jobs:
- name: Install OpenSSL - name: Install OpenSSL
if: matrix.target.os == 'windows-latest' if: matrix.target.os == 'windows-latest'
run: choco install openssl run: choco install openssl -y --forcex64 --no-progress
- name: Set OpenSSL dir in env - name: Set OpenSSL dir in env
if: matrix.target.os == 'windows-latest' if: matrix.target.os == 'windows-latest'
run: echo 'OPENSSL_DIR=C:\Program Files\OpenSSL-Win64' | Out-File -FilePath $env:GITHUB_ENV -Append run: |
echo 'OPENSSL_DIR=C:\Program Files\OpenSSL-Win64' | Out-File -FilePath $env:GITHUB_ENV -Append
echo 'OPENSSL_DIR=C:\Program Files\OpenSSL' | Out-File -FilePath $env:GITHUB_ENV -Append
- name: Install Rust (${{ matrix.version }}) - name: Install Rust (${{ matrix.version }})
uses: actions-rust-lang/setup-rust-toolchain@v1 uses: actions-rust-lang/setup-rust-toolchain@v1