From b51d7ce5922ad31f0054118c2f4f681653137359 Mon Sep 17 00:00:00 2001 From: Saptarshi Sarkar Date: Sat, 24 Feb 2024 13:16:35 +0530 Subject: [PATCH] fix(CI): Fixed Windows build issues --- .github/workflows/build.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c1c9b849c..436ed9c0f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,6 +35,12 @@ jobs: - uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha }} + # Setup the Windows build environment + - name: Add msbuild to PATH + if: ${{ matrix.os == 'windows-latest' && matrix.mode == 'GUI' }} + uses: microsoft/setup-msbuild@v2 + with: + msbuild-architecture: x64 - name: Update system packages if: ${{ matrix.os == 'ubuntu-latest' && matrix.mode == 'GUI' }} run: sudo apt-get update