diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7acf211..150db70 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,8 +25,20 @@ jobs: with: node-version: 20 + - name: Setup MSBuild (Windows) + if: matrix.os == 'windows-latest' + uses: microsoft/setup-msbuild@v2 + + - name: Install Windows SDK (Windows) + if: matrix.os == 'windows-latest' + shell: powershell + run: | + choco install windows-sdk-10-version-2004-all -y + - name: Install dependencies run: npm install + env: + npm_config_msvs_version: 2022 - name: Build application run: npm run dist