From 924e69fb9c1290214c11f8081e589de572a0c53f Mon Sep 17 00:00:00 2001 From: Young-Flash Date: Tue, 29 Oct 2024 17:13:09 +0800 Subject: [PATCH] ci: setup msvc for test-on-main --- .github/workflows/test-on-main.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/test-on-main.yml b/.github/workflows/test-on-main.yml index d35e8349..0f88b1ea 100644 --- a/.github/workflows/test-on-main.yml +++ b/.github/workflows/test-on-main.yml @@ -86,6 +86,10 @@ jobs: "$env:USERPROFILE\.moon\bin" | Out-File -FilePath $env:GITHUB_PATH -Append "$env:GITHUB_WORKSPACE\target\debug" | Out-File -FilePath $env:GITHUB_PATH -Append + - name: Setup MSVC + if: ${{ matrix.os == 'windows-latest' }} + uses: ilammy/msvc-dev-cmd@v1 + - name: Build run: cargo build - name: Versions