Commit 206bee3
authored
ci(prerelease): build Windows installers on windows-latest (#586)
The prerelease Windows matrix entries used os: ubuntu-latest, but the
'Install Inno Setup' / 'Create Windows installer' steps require a real
Windows runner (Chocolatey + ISCC.exe). On Ubuntu, 'choco' does not
exist, so the v0.37.0-rc.1 prerelease build (run 26926147427) failed:
choco: The term 'choco' is not recognized as a name of a cmdlet...
##[error]Process completed with exit code 1.
Switch the two Windows matrix entries to windows-latest with cgo: "1",
matching the proven release.yml configuration. Because the shared build
steps now run on a Windows host (default shell pwsh), add shell: bash to
the bash-syntax steps ('Copy frontend dist', 'Build binary and create
archives') and use PowerShell Compress-Archive for the Windows .zip
(the 'zip' command is unavailable in Git-bash on windows-latest) — all
mirroring release.yml. macOS/Linux build behavior is unchanged.1 parent 74030f3 commit 206bee3
1 file changed
Lines changed: 12 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| 100 | + | |
100 | 101 | | |
101 | 102 | | |
102 | 103 | | |
| |||
182 | 183 | | |
183 | 184 | | |
184 | 185 | | |
| 186 | + | |
185 | 187 | | |
186 | 188 | | |
187 | 189 | | |
| |||
406 | 408 | | |
407 | 409 | | |
408 | 410 | | |
409 | | - | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
410 | 417 | | |
411 | 418 | | |
412 | 419 | | |
| |||
0 commit comments