release: fix the Windows job shell — 'msys2 {0}', not 'msys2' (+ inherit PATH for 7z)

GitHub Actions shells are format strings; the bare 'msys2' string made the
v1.0.0 tag build fail before its first step ('Invalid shell option'). Same
invocation ci.yml already uses. path-type: inherit so the Package step can
reach the runner's 7z.exe.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
JustVugg
2026-07-19 12:29:33 +02:00
parent e25aeecc4c
commit 3cd2674f68
+7 -2
View File
@@ -24,7 +24,9 @@ jobs:
name: windows-x86_64
ext: ".exe"
make_args: ""
shell: msys2
# GitHub shells are format strings: 'msys2 {0}', never bare 'msys2'
# (the v1.0.0 tag build failed on exactly this). Same as ci.yml.
shell: "msys2 {0}"
runs-on: ${{ matrix.os }}
defaults:
run:
@@ -32,11 +34,14 @@ jobs:
steps:
- uses: actions/checkout@v4
- if: matrix.shell == 'msys2'
- if: matrix.os == 'windows-latest'
uses: msys2/setup-msys2@v2
with:
msystem: UCRT64
update: false
# inherit: the Package step calls the runner's 7z.exe, which lives on
# the Windows PATH; the default minimal path would not see it.
path-type: inherit
install: >-
make
mingw-w64-ucrt-x86_64-gcc