From 679312f101d3a64709f094fa6c9b091a47268fe1 Mon Sep 17 00:00:00 2001 From: liushuyu Date: Fri, 15 Oct 2021 23:29:08 -0600 Subject: [PATCH] fix(CI): fix Windows CI --- .github/workflows/test-build.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/test-build.yml b/.github/workflows/test-build.yml index 3f48f63..d1e5f6d 100644 --- a/.github/workflows/test-build.yml +++ b/.github/workflows/test-build.yml @@ -49,5 +49,10 @@ jobs: - run: npm install -g yarn - uses: actions/checkout@v2 + - name: Download Webview2 + run: Invoke-WebRequest -Uri 'https://go.microsoft.com/fwlink/p/?LinkId=2124703' -OutFile 'MicrosoftEdgeWebview2Setup.exe' + if: runner.os == 'Windows' + shell: pwsh + - name: Build run: cargo build --verbose