Skip to content

Commit

Permalink
ci: add 1.21.3
Browse files Browse the repository at this point in the history
  • Loading branch information
UltimatChamp committed Dec 10, 2024
1 parent 3dbd85f commit 1548f35
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/publish_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ on:
description: '1.21.1 NeoForge'
required: true
type: boolean
fabric-1-21-3:
description: '1.21.3 Fabric'
required: true
type: boolean

jobs:
publish-to-modrinth:
Expand All @@ -37,6 +41,12 @@ jobs:
files: modrinth/fabric/1.21.1
dest: OptimumFuse ${{ inputs.version }}+fabric.1.21.1.mrpack

- name: Zip fabric/1.21.3
uses: vimtor/action-zip@v1.2
with:
files: modrinth/fabric/1.21.3
dest: OptimumFuse ${{ inputs.version }}+fabric.1.21.3.mrpack

- name: Upload to Github
uses: actions/upload-artifact@v4
with:
Expand Down Expand Up @@ -95,6 +105,32 @@ jobs:
retry-delay: 10000
fail-mode: fail

- if: ${{ inputs.fabric-1-21-3 }}
name: Publish fabric/1.21.3
uses: Kir-Antipov/mc-publish@v3.3
with:
modrinth-id: nQYjpo27
modrinth-featured: true
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}

files: |
${{ github.workspace }}/*fabric.1.21.3.mrpack
name: OptimumFuse ${{ inputs.version }}+fabric.1.21.3
version: ${{ inputs.version }}+fabric.1.21.3
version-type: release
changelog-file: modrinth/fabric/1.21.3/CHANGELOG.md

loaders: |
fabric
game-versions: |
1.21.3
game-version-filter: releases

retry-attempts: 2
retry-delay: 10000
fail-mode: fail

# publish-to-curseforge:
# permissions:
# contents: write
Expand Down Expand Up @@ -162,6 +198,13 @@ jobs:
files: modrinth/fabric/1.21.1
dest: OptimumFuse ${{ inputs.version }}+fabric.1.21.1.mrpack

- if: ${{ inputs.fabric-1-21-3 }}
name: Mrpack fabric/1.21.3
uses: vimtor/action-zip@v1.2
with:
files: modrinth/fabric/1.21.3
dest: OptimumFuse ${{ inputs.version }}+fabric.1.21.3.mrpack

# - if: ${{ inputs.fabric-1-21-1 }}
# name: Zip fabric/1.21.1
# uses: vimtor/action-zip@v1.2
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/push_commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ jobs:
files: modrinth/fabric/1.21.1
dest: OptimumFuse ${{ env.COMMIT_SHORT_SHA }}+fabric.1.21.1.mrpack

- name: Mrpack fabric/1.21.3
uses: vimtor/action-zip@v1.2
with:
files: modrinth/fabric/1.21.3
dest: OptimumFuse ${{ env.COMMIT_SHORT_SHA }}+fabric.1.21.3.mrpack

- name: Zip neo/1.21
uses: vimtor/action-zip@v1.2
with:
Expand Down

0 comments on commit 1548f35

Please sign in to comment.