From 3bc8567fc91d70e93bee571040fd43d1415b40c9 Mon Sep 17 00:00:00 2001 From: Wang Fenjin Date: Fri, 10 Mar 2023 10:47:53 +0800 Subject: [PATCH] test choco (#132) * test choco Change-Id: I378bb95aa879ab3d0c6632ca727a218ab00ef882 * add openssl dir Change-Id: I2e4b3e50a1986b1034889628b36395af387a4bf7 * delete double quotes Change-Id: Idc1f990a87759ec37479ae78341add9e572627c7 --- .github/workflows/rust.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust.yaml b/.github/workflows/rust.yaml index 33d25065..beb1fa00 100644 --- a/.github/workflows/rust.yaml +++ b/.github/workflows/rust.yaml @@ -101,8 +101,10 @@ jobs: runs-on: windows-latest steps: - uses: actions/checkout@v2 - - run: echo "VCPKG_ROOT=$env:VCPKG_INSTALLATION_ROOT" | Out-File -FilePath $env:GITHUB_ENV -Append - - run: vcpkg install openssl:x64-windows-static-md + # - run: echo "VCPKG_ROOT=$env:VCPKG_INSTALLATION_ROOT" | Out-File -FilePath $env:GITHUB_ENV -Append + # - run: vcpkg install openssl:x64-windows-static-md + - run: choco install openssl + - run: echo 'OPENSSL_DIR=C:\Program Files\OpenSSL-Win64' | Out-File -FilePath $env:GITHUB_ENV -Append - uses: actions/cache@v3 with: path: ~/.cargo/registry/index