From 6f411e5f6b518b76d69c862135eae24c3f3c4ebd Mon Sep 17 00:00:00 2001 From: ShrBox Date: Wed, 17 Jan 2024 23:07:34 +0800 Subject: [PATCH] ci: fix wrong zip path --- .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 a81553c..b5e8c52 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -107,7 +107,8 @@ jobs: run: | mv peeditor-${{ env.VERSION }}-windows-amd64 artifacts mv artifacts/peeditor-${{ env.VERSION }}-windows-amd64 . - zip -r peeditor-${{ env.VERSION }}-windows-amd64.zip peeditor-${{ env.VERSION }}-windows-amd64/* + cd peeditor-${{ env.VERSION }}-windows-amd64 + zip -r peeditor-${{ env.VERSION }}-windows-amd64.zip * 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