From cf01e3f0560d97f2bc216d8dc04781d9a2c9f655 Mon Sep 17 00:00:00 2001 From: Marshall Porter Date: Thu, 27 Aug 2026 20:30:36 -0700 Subject: [PATCH] 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. --- .github/workflows/post-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/post-release.yml b/.github/workflows/post-release.yml index d76f790c..d7e50cbc 100644 --- a/.github/workflows/post-release.yml +++ b/.github/workflows/post-release.yml @@ -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"