ci: skip llvm install if openssl is cached
@@ -74,6 +74,7 @@ jobs:
run: brew install llvm openssl
- name: Cache windows (openssl)
+ id: windows-openssl-cache
if: matrix.platform.host == 'windows-latest'
uses: actions/cache@v2
with:
@@ -81,7 +82,7 @@ jobs:
key: ${{ runner.os }}-${{ hashFiles('C:\vcpkg\installed\x64-windows\bin\libcrypto.dll', 'C:\vcpkg\installed\x64-windows\bin\libssl.dll') }}
- name: Install dependencies windows
- if: matrix.platform.host == 'windows-latest'
+ if: matrix.platform.host == 'windows-latest' && steps.windows-openssl-cache.outputs.cache-hit != 'true'
run: |
choco install llvm
vcpkg integrate install
