Skip to content

Commit b2b8b40

Browse files
committed
windows config
1 parent c05449b commit b2b8b40

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/release.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,20 @@ jobs:
2525
with:
2626
node-version: 20
2727

28+
- name: Setup MSBuild (Windows)
29+
if: matrix.os == 'windows-latest'
30+
uses: microsoft/setup-msbuild@v2
31+
32+
- name: Install Windows SDK (Windows)
33+
if: matrix.os == 'windows-latest'
34+
shell: powershell
35+
run: |
36+
choco install windows-sdk-10-version-2004-all -y
37+
2838
- name: Install dependencies
2939
run: npm install
40+
env:
41+
npm_config_msvs_version: 2022
3042

3143
- name: Build application
3244
run: npm run dist

0 commit comments

Comments
 (0)