fix openssl env path for windows
@@ -77,12 +77,12 @@ jobs:
if: matrix.os == 'macos-latest'
run: echo "OPENSSL_ROOT_DIR=$(brew --prefix openssl@1.1)" >> $GITHUB_ENV
- # paho.mqtt requires openssl and OPENSSL_ROOT_DIR on Windows
+ # paho.mqtt requires openssl and OPENSSL_DIR on Windows
- name: Install OpenSSL (Windows)
if: matrix.os == 'windows-latest'
run: |
choco install openssl --no-progress
- echo "OPENSSL_ROOT_DIR=C:\Program Files\OpenSSL-Win64" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
+ echo "OPENSSL_DIR=C:\Program Files\OpenSSL-Win64" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
- name: Build
uses: actions-rs/cargo@v1
