Skip to content

Commit 935a1d4

Browse files
committed
Build installers using windows-latest binaries instead of ubuntu-22.04
Windows agents run the latest mingw/15.2.0 compiler, whereas ubuntu 22.04 is stuck with mingw/11.4.0
1 parent a31770d commit 935a1d4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/build-n-release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ jobs:
222222
package:
223223
name: Package
224224
needs: build
225-
runs-on: ubuntu-22.04
225+
runs-on: windows-latest
226226
steps:
227227

228228
# `fetch-depth: 0` pulls full branch history. Needed to extract the SVN revision number from git comments
@@ -247,6 +247,8 @@ jobs:
247247
'artifacts',
248248
distro_x86_dir='.instdist-x86',
249249
distro_amd64_dir='.instdist-amd64',
250+
distro_x86_re=r'^.+-windows-[\w\.]+-x86-gcc$',
251+
distro_amd64_re=r'^.+-windows-[\w\.]+-amd64-gcc$'
250252
)
251253
252254
- name: Build NSIS setup (x86)

0 commit comments

Comments
 (0)