Commit f1dd087
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 now check if
Inno Setup is already installed before invoking "winget install".1 parent f779f4a commit f1dd087
1 file changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
164 | | - | |
165 | | - | |
166 | | - | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
167 | 170 | | |
168 | 171 | | |
169 | 172 | | |
| |||
0 commit comments