Skip to content

Commit d13e982

Browse files
committed
🚀 添加 modrinth 发布步骤到 release.yml
1 parent d5d7d19 commit d13e982

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

‎.github/workflows/release.yml‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,3 +76,15 @@ jobs:
7676
generate_release_notes: true
7777
prerelease: false
7878
files: outputs/*.jar
79+
80+
- uses: Kir-Antipov/mc-publish@v3.3
81+
if: steps.check_version.outputs.exists == 'false'
82+
with:
83+
game-versions: ">=1.18 <=1.21.11"
84+
loaders: |
85+
paper
86+
folia
87+
version: ${{ steps.project_version.outputs.version }}
88+
files: outputs/*.jar
89+
modrinth-id: KrhHEilB
90+
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}

‎gradle.properties‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
version=0.0.4
1+
version=0.0.5
22
group=org.crashvibe

0 commit comments

Comments
 (0)