Skip to content

Commit 26bfbdb

Browse files
authored
fix windows command in release
1 parent 2dd7eb3 commit 26bfbdb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,10 +161,10 @@ jobs:
161161
env:
162162
RUSTFLAGS: ${{ matrix.rustflags }}
163163
- name: Rename binary (Unix)
164-
if: matrix.os != 'windows-latest'
164+
if: matrix.os != 'windows-latest' && matrix.os != 'windows-11-arm'
165165
run: rm -f target/distribution/rq-${{ matrix.target_triple }} && mv -f "target/${{ matrix.target_triple }}/distribution/rq" target/distribution/rq-${{ matrix.target_triple }}
166166
- name: Rename binary (Windows)
167-
if: matrix.os == 'windows-latest'
167+
if: matrix.os == 'windows-latest' || matrix.os == 'windows-11-arm'
168168
run: mv -Force "target/${{ matrix.target_triple }}/distribution/rq.exe" target/distribution/rq-${{ matrix.target_triple }}.exe
169169
- name: Upload the binary as artifact
170170
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0

0 commit comments

Comments
 (0)