Skip to content

Commit

Permalink
ci: 修复写法错误
Browse files Browse the repository at this point in the history
  • Loading branch information
amtoaer committed Apr 11, 2024
1 parent 073df01 commit 1baad78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ jobs:
- name: Package as archive
shell: bash
run: |
cp target/${{ matrix.platform.target }}/release/${{ matrix.platform.bin }} ./${{ matrix.platform.relase_for }}-${{ matrix.platform.bin }}
cp target/${{ matrix.platform.target }}/release/${{ matrix.platform.bin }} ./${{ matrix.platform.release_for }}-${{ matrix.platform.bin }}
cd target/${{ matrix.platform.target }}/release
if [[ "${{ matrix.platform.target }}" == "windows-last" ]]; then
if [[ "${{ matrix.platform.target }}" == "windows-latest" ]]; then
7z a ../../../${{ matrix.platform.name }} ${{ matrix.platform.bin }}
else
tar czvf ../../../${{ matrix.platform.name }} ${{ matrix.platform.bin }}
Expand Down

0 comments on commit 1baad78

Please sign in to comment.