mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-02 06:28:54 +00:00
build: setup modrinth publishing
This commit is contained in:
4 files changed
+25
No files matched your search
@@ -65,6 +65,12 @@ jobs:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
title: CarbonChat ${{ steps.vars.outputs.tag }}
|
||||
pre-release: true
|
||||
- name: Publish (Pre-)Release to Modrinth
|
||||
if: "${{ env.STATUS == 'release' && (github.event_name == 'release' || (github.event_name == 'push' && contains(github.ref, '+beta.'))) }}"
|
||||
run: ./gradlew :carbonchat-paper:modrinth :carbonchat-velocity:modrinth
|
||||
env:
|
||||
MODRINTH_TOKEN: "${{ secrets.MODRINTH_TOKEN }}"
|
||||
RELEASE_NOTES: "${{ github.event.release.body }}"
|
||||
- name: Publish (Pre-)Release to Hangar
|
||||
if: "${{ env.STATUS == 'release' && (github.event_name == 'release' || (github.event_name == 'push' && contains(github.ref, '+beta.'))) }}"
|
||||
run: ./gradlew publishAllPublicationsToHangar
|
||||
|
||||
Reference in new issue
Block a user