mirror of
https://github.com/crate-ci/typos.git
synced 2026-10-17 09:35:11 +02:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user