mirror of
https://github.com/alexcrea/CustomAnvil.git
synced 2026-06-23 16:16:17 +02:00
prerelease
This commit is contained in:
parent
3570af32e7
commit
e59c81f37a
1 changed files with 14 additions and 0 deletions
14
.github/workflows/gradle.yml
vendored
14
.github/workflows/gradle.yml
vendored
|
|
@ -130,6 +130,7 @@ jobs:
|
|||
with:
|
||||
token: ${{ secrets.MODRINTH_TOKEN }}
|
||||
project: S75Ueiq9
|
||||
name: dev-${{ env.SMALL_COMMIT_HASH }}
|
||||
version: dev-${{ env.SMALL_COMMIT_HASH }}
|
||||
loaders: '["spigot", "paper", "purpur", "folia"]'
|
||||
game-versions: '["1.18.x", "1.19.x", "1.20.x", "1.21.x"]'
|
||||
|
|
@ -137,6 +138,19 @@ jobs:
|
|||
files: build/libs/${{ env.ONLINE_JAR_NAME }}
|
||||
status: draft
|
||||
|
||||
- name: Modrinth publish release
|
||||
if: ${{ github.event_name == 'release' && github.repository_owner == 'alexcrea' && success() }}
|
||||
uses: cloudnode-pro/modrinth-publish@v2
|
||||
with:
|
||||
token: ${{ secrets.MODRINTH_TOKEN }}
|
||||
project: S75Ueiq9
|
||||
name: ${{ github.event.release.name }}
|
||||
version: ${{ github.event.release.tag_name }}${{ github.event.release.prerelease == false && '' || '-pre' }}
|
||||
loaders: '["spigot", "paper", "purpur", "folia"]'
|
||||
game-versions: '["1.18.x", "1.19.x", "1.20.x", "1.21.x"]'
|
||||
channel: ${{ github.event.release.prerelease == false && 'release' || 'beta' }}
|
||||
files: build/libs/${{ env.ONLINE_JAR_NAME }}
|
||||
status: draft
|
||||
#- name: Modrinth publish release
|
||||
# if: ${{ github.event_name == 'release' && github.repository_owner == 'alexcrea' && success() && false}}
|
||||
# uses: cloudnode-pro/modrinth-publish@v2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue