Separate Modrinth/CF task (#46)

This commit is contained in:
Jason Mitchell 2025-03-02 11:20:28 -08:00 committed by GitHub
parent 7a97ae3b13
commit 32bd24ff1d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -96,10 +96,16 @@ jobs:
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
if: ${{ env.MAVEN_USER != '' }}
- name: Publish to Modrinth and CurseForge
- name: Publish to Modrinth
run: ./gradlew --build-cache --info --stacktrace -PmavenPublishUrl='${{ env.MAVEN_PUBLISHING_URL }}' assemble publish -x test
continue-on-error: true
env:
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
if: ${{ env.SNAPSHOT != 'true' }}
- name: Publish to Curseforge
run: ./gradlew --build-cache --info --stacktrace -PmavenPublishUrl='${{ env.MAVEN_PUBLISHING_URL }}' assemble publish -x test
continue-on-error: true
env:
CURSEFORGE_TOKEN: ${{ secrets.CURSEFORGE_TOKEN }}
if: ${{ env.SNAPSHOT != 'true' }}