mirror of
https://github.com/GTNewHorizons/GTNH-Actions-Workflows.git
synced 2025-07-01 18:01:28 +02:00
Publish to Modrinth and CurseForge (#10)
* Publish to Modrinth and CurseForge * Merge all three publishing steps
This commit is contained in:
parent
5107a22d58
commit
757b6e6a59
8
.github/workflows/release-tags.yml
vendored
8
.github/workflows/release-tags.yml
vendored
@ -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 != '' }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user