build: use multi-version for fabric 1.21.1/4

This commit is contained in:
William278 committed 2025-01-12 15:19:55 +00:00
1 parent c31a382093
commit 23fc30cf84
22 files changed
+198 -63

No files matched your search

+33 -1
View File
@@ -53,15 +53,19 @@ jobs:
changelog: ${{ github.event.head_commit.message }}
distro-names: |
paper
fabric-1.21.1
fabric-1.21.4
distro-groups: |
paper
fabric
fabric
distro-descriptions: |
Paper
Fabric 1.21.1
Fabric 1.21.4
files: |
target/HuskHomes-Paper-${{ env.version_name }}.jar
target/HuskHomes-Fabric-${{ env.version_name }}+mc.1.21.1.jar
target/HuskHomes-Fabric-${{ env.version_name }}+mc.1.21.4.jar
- name: 'Spigot: Publish to Modrinth & Hangar 🚰'
uses: WiIIiam278/mc-publish@hangar
@@ -108,7 +112,35 @@ jobs:
1.21.2
1.21.4
java: 17
- name: 'Fabric: Publish to Modrinth & CurseForge 🧵'
- name: 'Fabric 1.21.1: Publish to Modrinth & CurseForge 🧵'
uses: WiIIiam278/mc-publish@hangar
if: success() || failure()
with:
modrinth-id: J6U9o3JG
modrinth-featured: false
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
curseforge-id: 849217
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }}
dependencies: |
fabric-api | requires | *
dynmap | suggests | *
bluemap | suggests | *
pl3xmap | suggests | *
luckperms | suggests | *
plan | suggests | *
impactor | suggests | *
placeholder-api | suggests | *
files-primary: target/HuskHomes-Fabric-${{ env.version_name }}+mc.1.21.1.jar
name: HuskHomes (Fabric) v${{ env.version_name }}
version: ${{ env.version_name }}
version-type: alpha
changelog: ${{ github.event.head_commit.message }}
loaders: |
fabric
game-versions: |
1.21.1
java: 21
- name: 'Fabric 1.21.4: Publish to Modrinth & CurseForge 🧵'
uses: WiIIiam278/mc-publish@hangar
if: success() || failure()
with:
+32 -1
View File
@@ -42,15 +42,19 @@ jobs:
changelog: ${{ github.event.release.body }}
distro-names: |
paper
fabric-1.21.1
fabric-1.21.4
distro-groups: |
paper
fabric
fabric
distro-descriptions: |
Paper
Fabric 1.21.1
Fabric 1.21.4
files: |
target/HuskHomes-Paper-${{ github.event.release.tag_name }}.jar
target/HuskHomes-Fabric-${{ github.event.release.tag_name }}+mc.1.21.1.jar
target/HuskHomes-Fabric-${{ github.event.release.tag_name }}+mc.1.21.4.jar
- name: 'Spigot: Publish to Modrinth & Hangar 🚰'
uses: WiIIiam278/mc-publish@hangar
@@ -96,7 +100,34 @@ jobs:
1.21.2
1.21.4
java: 17
- name: 'Fabric: Publish to Modrinth & CurseForge 🧵'
- name: 'Fabric 1.21.1: Publish to Modrinth & CurseForge 🧵'
uses: WiIIiam278/mc-publish@hangar
with:
modrinth-id: J6U9o3JG
modrinth-featured: false
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
curseforge-id: 849217
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }}
dependencies: |
fabric-api | requires | *
dynmap | suggests | *
bluemap | suggests | *
pl3xmap | suggests | *
luckperms | suggests | *
plan | suggests | *
impactor | suggests | *
placeholder-api | suggests | *
files-primary: target/HuskHomes-Fabric-${{ github.event.release.tag_name }}+mc.1.21.1.jar
name: HuskHomes (Fabric) v${{ github.event.release.tag_name }}
version: ${{ github.event.release.tag_name }}
version-type: release
changelog: ${{ github.event.release.body }}
loaders: |
fabric
game-versions: |
1.21.1
java: 21
- name: 'Fabric 1.21.4: Publish to Modrinth & CurseForge 🧵'
uses: WiIIiam278/mc-publish@hangar
with:
modrinth-id: J6U9o3JG