diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2419d80..41a35cc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -138,4 +138,43 @@ jobs: with: body: ${{ steps.changelog.outputs.changelog }} prerelease: ${{ steps.release-type.outputs.type }} - file: JqshuvPack-${{ matrix.version }}.X.zip \ No newline at end of file + file: JqshuvPack-${{ matrix.version }}.X.zip + + release-modrinth: + runs-on: ubuntu-latest + needs: [build, changelog, getinfo] + name: "🐲 Release to Modrinth" + strategy: + matrix: + version: [1.16, 1.17, 1.18, 1.19, "1.20", 1.21] + steps: + - name: "🔽 Download Packs" + uses: actions/download-artifact@v3 + with: + name: JqshuvPack-${{ matrix.version }}.X + - name: 📦 ZIP + run: zip -r JqshuvPack-${{ matrix.version }}.X.zip * + - name: "🐍 Get release type" + id: release-type + run: | + rel_type="release" + case "${{ needs.getinfo.outputs.tag }}" in + *alpha*) rel_type="alpha" ;; + *beta*) rel_type="beta" ;; + *rc**) rel_type="beta" ;; + *) rel_type="false" ;; + esac + echo "::set-output name=type::$rel_type" + - name: "🧬 Create release" + uses: cloudnode-pro/modrinth-publish@2.0.0 + with: + project: r4SmPOJL + name: ${{ needs.getinfo.outputs.tag }} + changelog: ${{ steps.changelog.outputs.changelog }} + version: ${{ needs.getinfo.outputs.tag }} + token: ${{ secrets.MODRINTH_TOKEN }} + game-versions: ${{ matrix.version }} + channel: ${{ steps.release-type.outputs.type }} + files: JqshuvPack-${{ matrix.version }}.X.zip + loaders: minecraft + diff --git a/README.md b/README.md index f8c4d79..231bddf 100644 --- a/README.md +++ b/README.md @@ -1 +1,28 @@ -JqshuvPack +# Jqshuv Pack + +This is a simple Texture Pack for fixing small bugs. + +**You can download the latest version of the pack from [Modrinth](https://modrinth.com/resourcepack/jqshuvpack) or [Github](https://github.com/jqshuv/JqshuvPack/releases/latest)** + +> [!TIP] +> You can download the latest development version from [here](https://nightly.link/jqshuv/JqshuvPack/workflows/devbuild/master). + +### Custom light GUI + +![Custom light GUI](https://cdn.modrinth.com/data/cached_images/1a03e69f9e1c37df284b8113ab0a0164af98abab.webp) + +### No Pumpkin Blur + +![No Pumpkin Blur](https://cdn.modrinth.com/data/cached_images/eac5bc044088e45268a8662d72ed9cfd75c765b2.webp) + +### Books Align + +![Books Align](https://cdn.modrinth.com/data/cached_images/3e8436945e72c8ea0c8b478b20b7a9dc29c41448.webp) + +### Custom Totem + +![Custom Totem](https://cdn.modrinth.com/data/cached_images/103d21b5f1b6165523bb45132ee4e971fe801079.webp) + +### Coca Bean Aign + +![Coca Bean Aign](https://cdn.modrinth.com/data/cached_images/85155982ffb32a315c2d6c70a4ec1023ead96ab3.webp) \ No newline at end of file