diff --git a/.github/workflows/win.yml b/.github/workflows/win.yml index 8f323007..a1ab274e 100644 --- a/.github/workflows/win.yml +++ b/.github/workflows/win.yml @@ -10,16 +10,15 @@ jobs: runs-on: windows-latest steps: - - name: Set up MSVC - uses: ilammy/msvc-dev-cmd@v1 + - name: Setup MSBuild and Visual Studio 2022 + uses: microsoft/setup-msbuild@v1.1 with: - arch: x64 + vs-version: '2022' - - name: Install Dependencies - run: | - choco install visualstudio2022buildtools --params "'/InstallAdditionalWorkloads netfx-4.8-devpack,Microsoft.VisualStudio.Workload.VCTools'" - choco install visualstudio2022-workload-vctools - choco install windows-sdk-10.1 + - name: Install Windows SDK + uses: mscorlibdev/windows-sdk-installer@v1.4.0 + with: + sdk-version: '10.0.22621.0' - uses: actions/setup-java@v4 with: