From fd740f929a33d1017917a3816f0ea682affda673 Mon Sep 17 00:00:00 2001 From: melontini <104443436+melontini@users.noreply.github.com> Date: Wed, 18 Dec 2024 20:30:43 +0700 Subject: [PATCH] CI: Fix double archive(?) --- .github/workflows/build.yml | 5 +++-- scripts/generate-pack.sh | 6 +----- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a95c123..04459ea 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,6 +1,7 @@ name: Build Pack on: + workflow_dispatch: push: paths: - "x256/**" @@ -18,7 +19,7 @@ jobs: - name: Install Dependencies run: | sudo apt-get update - sudo apt-get install -y jq zip + sudo apt-get install -y jq - name: Build Pack ZIP run: bash scripts/generate-pack.sh @@ -27,4 +28,4 @@ jobs: uses: actions/upload-artifact@v4 with: name: neoduke - path: neoduke.zip \ No newline at end of file + path: output/ \ No newline at end of file diff --git a/scripts/generate-pack.sh b/scripts/generate-pack.sh index 36611c7..ab39e11 100755 --- a/scripts/generate-pack.sh +++ b/scripts/generate-pack.sh @@ -36,8 +36,4 @@ done mv "$EMOJI_ARRAY" "output/meta.json" mv "$FILES_OBJECT" "output/pack.json" -cp "LICENSE.txt" "output/LICENSE.txt" - -cd output -zip -r "../neoduke.zip" ./* -cd .. \ No newline at end of file +cp "LICENSE.txt" "output/LICENSE.txt" \ No newline at end of file -- 2.51.2