From efe1c5c947e7479ed4fd3c457ad81365b901ba45 Mon Sep 17 00:00:00 2001 From: shadow <81448108+shdwmtr@users.noreply.github.com> Date: Mon, 9 Dec 2024 00:27:06 -0400 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5081ce4..d69766b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -67,9 +67,12 @@ jobs: mkdir -p build cd dist for folder in */; do + + out="${folder%/}" + echo "Zipping folder: $folder" - zip -r "$folder.zip" "$folder" || echo "Failed to zip $folder" - mv "$folder.zip" ../build/$folder.zip || echo "Failed to move $folder.zip to build" + zip -r "$out.zip" "$folder" || echo "Failed to zip $folder" + mv "$out.zip" ../build/$out.zip || echo "Failed to move $folder.zip to build" done - name: List built plugins