Skip to content

Commit

Permalink
feat: Add Modrinth release workflow and update README with pack details
Browse files Browse the repository at this point in the history
  • Loading branch information
jqshuv committed Dec 30, 2024
1 parent 9e8a8f0 commit ebb413a
Show file tree
Hide file tree
Showing 2 changed files with 68 additions and 2 deletions.
41 changes: 40 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,4 +138,43 @@ jobs:
with:
body: ${{ steps.changelog.outputs.changelog }}
prerelease: ${{ steps.release-type.outputs.type }}
file: JqshuvPack-${{ matrix.version }}.X.zip
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/[email protected]
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

29 changes: 28 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit ebb413a

Please sign in to comment.