mirror of
https://github.com/LITW-Refined/GTNH-Actions-Workflows.git
synced 2025-12-23 11:18:32 +00:00
Split publication for maven and Modrinth / CurseForge
This commit is contained in:
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 != '' }}
|
||||
|
||||
Reference in New Issue
Block a user