From 1baad78641b2fbe21b4b29a68ea63f39d5f0e69e Mon Sep 17 00:00:00 2001 From: amtoaer Date: Fri, 12 Apr 2024 01:06:00 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E4=BF=AE=E5=A4=8D=E5=86=99=E6=B3=95?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 191d6a2..ca3bc7a 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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 }}