mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2024-11-22 02:25:41 +01:00
Merge pull request #2947 from Multiverse/modrinth-for-promote-release
Upload to modrinth when manually promote release
This commit is contained in:
commit
26e587805d
18
.github/workflows/promote_release.yml
vendored
18
.github/workflows/promote_release.yml
vendored
@ -88,3 +88,21 @@ jobs:
|
|||||||
file: build/libs/multiverse-core-${{ env.VERSION }}.jar
|
file: build/libs/multiverse-core-${{ env.VERSION }}.jar
|
||||||
asset_name: multiverse-core-${{ steps.release.outputs.tag_name }}.jar
|
asset_name: multiverse-core-${{ steps.release.outputs.tag_name }}.jar
|
||||||
tag: ${{ steps.release.outputs.tag_name }}
|
tag: ${{ steps.release.outputs.tag_name }}
|
||||||
|
|
||||||
|
- name: Get Changelog
|
||||||
|
id: changelog
|
||||||
|
uses: cardinalby/git-get-release-action@1.2.4
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
with:
|
||||||
|
tag: ${{ steps.release.outputs.tag_name }}
|
||||||
|
|
||||||
|
- name: Modrinth Upload
|
||||||
|
uses: gradle/gradle-build-action@v2
|
||||||
|
with:
|
||||||
|
arguments: build modrinth
|
||||||
|
env:
|
||||||
|
GITHUB_VERSION: ${{ env.VERSION }}
|
||||||
|
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
|
||||||
|
CHANGELOG: ${{ steps.changelog.outputs.body }}
|
||||||
|
PRERELEASE: ${{ steps.changelog.outputs.prerelease }}
|
||||||
|
Loading…
Reference in New Issue
Block a user