We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e8f52b commit 3582188Copy full SHA for 3582188
.github/workflows/build.yml
@@ -63,3 +63,12 @@ jobs:
63
with:
64
files: 'build/libs/*.jar;!build/libs/*-sources.jar'
65
repo-token: ${{ secrets.GITHUB_TOKEN }}
66
+
67
+ - name: Modrinth Publish
68
+ env:
69
+ MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
70
+ CHANGELOG: ${{ github.event.release.body }}
71
+ if: github.event_name == 'release' && github.event.action == 'published' && ${{ env.MODRINTH_TOKEN != '' }}
72
+ run: |
73
+ ./gradlew modrinth
74
+ ./gradlew modrinthSyncBody
0 commit comments