ci: match any windows runner when staging the release archive

The zip-vs-tarball branch only recognized the single existing
windows-2022 runner by exact name, which would silently fall through to
the tarball branch for any other Windows runner.
This commit is contained in:
Marshall Porter
2026-10-06 12:17:07 -07:00
parent dcea7116aa
commit cf01e3f056
+1 -1
View File
@@ -109,7 +109,7 @@ jobs:
mkdir -p "$staging"/doc
cp {README.md,LICENSE-*} "$staging/"
cp {CHANGELOG.md,docs/*} "$staging/doc/"
if [ "${{ matrix.os }}" = "windows-2022" ]; then
if [[ "${{ matrix.os }}" == windows-* ]]; then
cp "target/${{ matrix.target }}/release/${{ env.BIN_NAME }}.exe" "$staging/"
ls -l "$staging"
cd "$staging"