mirror of
https://github.com/LITW-Refined/GTNH-Actions-Workflows.git
synced 2025-12-23 11:18:32 +00:00
Publish to Modrinth and CurseForge (#10)
* Publish to Modrinth and CurseForge * Merge all three publishing steps
This commit is contained in:
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 != '' }}
|
||||
|
||||
Reference in New Issue
Block a user