Publish to Modrinth and CurseForge (#10)

* Publish to Modrinth and CurseForge

* Merge all three publishing steps
This commit is contained in:
glowredman 2022-09-10 13:37:59 +00:00 committed by GitHub
parent 5107a22d58
commit 757b6e6a59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,10 +59,16 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Publish to Maven
- name: Save changelog
run: gh release view --json body --jq .body > CHANGELOG.md
continue-on-error: true
- name: Publish to Maven, Modrinth and CurseForge
run: ./gradlew --info --stacktrace publish
continue-on-error: true
env:
MAVEN_USER: ${{ secrets.MAVEN_USER }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
CURSEFORGE_TOKEN: ${{ secrets.CURSEFORGE_TOKEN }}
if: ${{ env.MAVEN_USER != '' }}