Commit edaa7d9
committed
ci(windows): Skip installing Inno Setup if already installed
GitHub had removed Inno Setup from the Windows Server 2025 image, but
now they've recently reintroduced it:
https://redirect.github.com/actions/runner-images/issues/12947#issuecomment-3416540769
This new image with Inno Setup pre-installed is not generally available
yet, so we still need to keep the "Install latest Inno Setup" CI step
around, because our Windows CI runner might be randomly assigned an
older version of the Windows 2025 image, where Inno Setup doesn't come
pre-installed.
To prevent that step from randomly failing, however, we must invoke the
"winget install" command with the --no-upgrade option, which description
reads: "Skips upgrade if an installed version already exists".1 parent f779f4a commit edaa7d9
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
164 | | - | |
| 164 | + | |
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
| |||
0 commit comments