From fab0e1534368fe90b159aeadba40ae0542dd4a3f Mon Sep 17 00:00:00 2001 From: ShrBox Date: Wed, 17 Jan 2024 23:13:12 +0800 Subject: [PATCH] ci: fix ci --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b5e8c52..949e9ba 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -108,7 +108,8 @@ jobs: mv peeditor-${{ env.VERSION }}-windows-amd64 artifacts mv artifacts/peeditor-${{ env.VERSION }}-windows-amd64 . cd peeditor-${{ env.VERSION }}-windows-amd64 - zip -r peeditor-${{ env.VERSION }}-windows-amd64.zip * + zip -r ../peeditor-${{ env.VERSION }}-windows-amd64.zip * + cd .. echo "ZIP_SHA256=$(sha256sum peeditor-${{ env.VERSION }}-windows-amd64.zip | cut -d ' ' -f 1)" >> $GITHUB_ENV echo "EXE_SHA256=$(sha256sum peeditor-${{ env.VERSION }}-windows-amd64/PeEditor.exe | cut -d ' ' -f 1)" >> $GITHUB_ENV echo "PDB_SHA256=$(sha256sum peeditor-${{ env.VERSION }}-windows-amd64/PeEditor.pdb | cut -d ' ' -f 1)" >> $GITHUB_ENV