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.
2 parents 5ff8729 + 3582188 commit d8d8ce3Copy full SHA for d8d8ce3
.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