Skip to content

Commit 265f332

Browse files
authored
ci: fix release workflow (#273)
Signed-off-by: dqhl76 <[email protected]>
1 parent 3063f4f commit 265f332

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
- os: macos-latest
6262
rust: stable
6363
target: aarch64-apple-darwin
64-
- os: windows-2019
64+
- os: windows-2022
6565
rust: stable
6666
target: x86_64-pc-windows-msvc
6767
runs-on: ${{ matrix.os }}
@@ -101,7 +101,7 @@ jobs:
101101
staging="${{ env.CRATE_NAME }}-${{ needs.create-release.outputs.release_version }}-${{ matrix.target }}"
102102
mkdir -p "$staging"
103103
cp {README.md,LICENSE-*,CHANGELOG.md} "$staging/"
104-
if [ "${{ matrix.os }}" = "windows-2019" ]; then
104+
if [ "${{ matrix.os }}" = "windows-2022" ]; then
105105
cp "target/${{ matrix.target }}/release/${{ env.BIN_NAME }}.exe" "$staging/"
106106
cd "$staging"
107107
7z a "../$staging.zip" .

0 commit comments

Comments
 (0)