mirror of
https://github.com/GTNewHorizons/GTNH-Actions-Workflows.git
synced 2025-07-01 18:01:28 +02:00
Split publication for maven and Modrinth / CurseForge
This commit is contained in:
parent
c26875bdec
commit
6c557505f7
8
.github/workflows/release-tags.yml
vendored
8
.github/workflows/release-tags.yml
vendored
@ -78,12 +78,18 @@ jobs:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
if: ${{ !contains(github.event.head_commit.message, '[no github]') }}
|
||||
|
||||
- name: Publish to Maven, Modrinth and CurseForge
|
||||
- name: Publish to Maven
|
||||
run: ./gradlew --build-cache --info --stacktrace build publish
|
||||
continue-on-error: true
|
||||
env:
|
||||
MAVEN_USER: ${{ secrets.MAVEN_USER }}
|
||||
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
|
||||
if: ${{ env.MAVEN_USER != '' }}
|
||||
|
||||
- name: Publish to Modrinth and CurseForge
|
||||
run: ./gradlew --build-cache --info --stacktrace build publish
|
||||
continue-on-error: true
|
||||
env:
|
||||
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
|
||||
CURSEFORGE_TOKEN: ${{ secrets.CURSEFORGE_TOKEN }}
|
||||
if: ${{ env.MAVEN_USER != '' }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user