diff --git a/.github/workflows/devbuild.yml b/.github/workflows/devbuild.yml index 0149ec3..b35f933 100644 --- a/.github/workflows/devbuild.yml +++ b/.github/workflows/devbuild.yml @@ -20,80 +20,85 @@ jobs: steps: - name: 🔁 Checkout uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: 💾 Update config.json run: echo "`jq '.pack.pack_format="18"' pack.mcmeta`" > pack.mcmeta - - name: 📦 ZIP - uses: vimtor/action-zip@v1 + + - name: Run PackSquash + uses: ComunidadAylas/PackSquash-action@v4 with: - files: assets/ pack.mcmeta pack.png credits.md - dest: pack.zip + packsquash_version: latest + + # - name: 📦 ZIP + # uses: vimtor/action-zip@v1 + # with: + # files: assets/ pack.mcmeta pack.png credits.md + # dest: pack.zip - name: 🏹 Upload uses: actions/upload-artifact@v4 with: name: JqshuvPack-1.20.X path: | - assets/ - pack.mcmeta - pack.png - credits.md + pack.zip - build_old: - name: 🐐 Build Old - runs-on: ubuntu-24.04 - strategy: - matrix: - version: [1.16, 1.17, 1.18, 1.19] - include: - - version: 1.16 - pack_version: 6 - - version: 1.17 - pack_version: 7 - - version: 1.18 - pack_version: 8 - - version: 1.19 - pack_version: 13 - steps: - - name: 🔁 Checkout - uses: actions/checkout@v4 - with: - ref: 'ver/${{ matrix.version }}' - - name: 💾 Update config.json - run: echo "`jq '.pack.pack_format="${{ matrix.pack_version }}"' pack.mcmeta`" > pack.mcmeta - - name: 📦 ZIP - uses: vimtor/action-zip@v1 - with: - files: assets/ pack.mcmeta pack.png credits.md - dest: pack.zip - - name: 🏹 Upload - uses: actions/upload-artifact@v4 - with: - name: JqshuvPack-${{ matrix.version }}.X - path: | - assets/ - pack.mcmeta - pack.png - credits.md + # build_old: + # name: 🐐 Build Old + # runs-on: ubuntu-24.04 + # strategy: + # matrix: + # version: [1.16, 1.17, 1.18, 1.19] + # include: + # - version: 1.16 + # pack_version: 6 + # - version: 1.17 + # pack_version: 7 + # - version: 1.18 + # pack_version: 8 + # - version: 1.19 + # pack_version: 13 + # steps: + # - name: 🔁 Checkout + # uses: actions/checkout@v4 + # with: + # ref: 'ver/${{ matrix.version }}' + # - name: 💾 Update config.json + # run: echo "`jq '.pack.pack_format="${{ matrix.pack_version }}"' pack.mcmeta`" > pack.mcmeta + # - name: 📦 ZIP + # uses: vimtor/action-zip@v1 + # with: + # files: assets/ pack.mcmeta pack.png credits.md + # dest: pack.zip + # - name: 🏹 Upload + # uses: actions/upload-artifact@v4 + # with: + # name: JqshuvPack-${{ matrix.version }}.X + # path: | + # assets/ + # pack.mcmeta + # pack.png + # credits.md - zip_build: - name: "📭 Build ZIP Release" - needs: [build_old, build_20] - runs-on: ubuntu-24.04 - strategy: - matrix: - version: [1.16, 1.17, 1.18, 1.19] - steps: - - name: "🔽 Download Packs" - uses: actions/download-artifact@v4 - with: - name: JqshuvPack-${{ matrix.version }}.X - path: temp-${{ matrix.version }} - - name: 📦 ZIP - uses: vimtor/action-zip@v1 - with: - files: temp-${{ matrix.version }}/* - dest: JqshuvPack-${{ matrix.version }}.X.zip - #- name: 🏹 Upload - # uses: actions/upload-artifact@v4 - # with: - # name: packs - # path: JqshuvPack-${{ matrix.version }}.X.zip + # zip_build: + # name: "📭 Build ZIP Release" + # needs: [build_old, build_20] + # runs-on: ubuntu-24.04 + # strategy: + # matrix: + # version: [1.16, 1.17, 1.18, 1.19] + # steps: + # - name: "🔽 Download Packs" + # uses: actions/download-artifact@v4 + # with: + # name: JqshuvPack-${{ matrix.version }}.X + # path: temp-${{ matrix.version }} + # - name: 📦 ZIP + # uses: vimtor/action-zip@v1 + # with: + # files: temp-${{ matrix.version }}/* + # dest: JqshuvPack-${{ matrix.version }}.X.zip + # #- name: 🏹 Upload + # # uses: actions/upload-artifact@v4 + # # with: + # # name: packs + # # path: JqshuvPack-${{ matrix.version }}.X.zip