Skip to content

Commit 32b4c47

Browse files
committed
feat: modrinth auto release
1 parent 4435c13 commit 32b4c47

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,30 @@ jobs:
6262
with:
6363
name: Advance-${{ env.VERSION }}
6464
path: build/libs
65+
66+
- name: Publish to Modrinth
67+
if: env.IS_RELEASE == 'true'
68+
uses: kir-antipov/mc-publish@v3.3
69+
with:
70+
modrinth-id: "ab7RsjrW"
71+
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
72+
files: build/libs/Advance-*-all.jar
73+
name: Advance ${{ env.VERSION }}
74+
version: ${{ env.VERSION }}
75+
loaders: |
76+
paper
77+
folia
78+
game-versions: |
79+
1.21.4
80+
1.21.3
81+
1.21.2
82+
1.21.1
83+
1.21
84+
1.21.5
85+
1.21.6
86+
1.21.7
87+
1.21.8
88+
1.21.9
89+
1.21.10
90+
1.21.11
91+

0 commit comments

Comments
 (0)