From 4075a87dd3e48a6be87a1a80e10bfda069707a12 Mon Sep 17 00:00:00 2001 From: Jeroen Nijhuis Date: Thu, 21 Dec 2023 15:28:44 +0100 Subject: [PATCH] fix windows builds --- .github/workflows/test-build.yml | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/.github/workflows/test-build.yml b/.github/workflows/test-build.yml index 96c5eb3..f34ba89 100644 --- a/.github/workflows/test-build.yml +++ b/.github/workflows/test-build.yml @@ -51,17 +51,10 @@ jobs: if: matrix.platform == 'windows-latest' run: | choco install openssl - Import-Module "$env:ChocolateyInstall/helpers/chocolateyInstaller.psm1" - refreshenv - - - name: Install Windows dependencies - if: matrix.platform == 'windows-latest' - run: | - git clone https://github.com/microsoft/vcpkg.git - .\vcpkg\bootstrap-vcpkg.bat - .\vcpkg\vcpkg integrate install - .\vcpkg\vcpkg --triplet x64-windows-static install openssl - set VCPKGRS_DYNAMIC=1 + mkdir -p C:\Program Files\OpenSSL\ca + curl -o C:\Program Files\OpenSSL\ca\cacert.pem https://curl.se/ca/cacert.pem + set OPENSSL_DIR=C:\Program Files\OpenSSL + set SSL_CERT_FILE=C:\Program Files\OpenSSL\ca\cacert.pem - name: Build Vite + Tauri run: npm run build