diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bc5f2cb2..42b869a0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -156,6 +156,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 @@ -230,6 +234,10 @@ jobs: Set-ExecutionPolicy RemoteSigned -Scope CurrentUser; irm https://cli.moonbitlang.com/install/powershell.ps1 | iex "C:\Users\runneradmin\.moon\bin" | 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