Skip to content

Commit 31c169a

Browse files
committed
ghci: install DotNet SDK on windows runner
we need a DotNet environment to build the MSI the simplest way to get it installed is using winget which is pre-installed in windows-2025 runner image
1 parent 245c564 commit 31c169a

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/windows-artifacts.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
strategy:
2222
fail-fast: false
2323
matrix:
24-
os: ['windows-2022']
24+
os: ['windows-2025']
2525
go: ['1.24']
2626
steps:
2727
- name: Check out repository code
@@ -30,9 +30,8 @@ jobs:
3030
uses: actions/setup-go@v6
3131
with:
3232
go-version: ${{ matrix.go }}
33-
- name: Set path for heat.exe and light.exe
34-
shell: bash
35-
run: echo "$WIX\\bin" >>$GITHUB_PATH
33+
- name: Install DotNet.SDK.10
34+
run: winget install --id Microsoft.DotNet.SDK.10 --source winget
3635
- name: Build Windows installer
3736
run: make out/windows-amd64/crc-windows-installer.zip
3837
- name: Upload windows installer artifact

0 commit comments

Comments
 (0)