diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml --- 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 @@ - 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 @@ - name: Upload Artifact 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 --- 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