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:
|
with:
|
||||||
token: ${{ secrets.MODRINTH_TOKEN }}
|
token: ${{ secrets.MODRINTH_TOKEN }}
|
||||||
project: S75Ueiq9
|
project: S75Ueiq9
|
||||||
|
name: dev-${{ env.SMALL_COMMIT_HASH }}
|
||||||
version: dev-${{ env.SMALL_COMMIT_HASH }}
|
version: dev-${{ env.SMALL_COMMIT_HASH }}
|
||||||
loaders: '["spigot", "paper", "purpur", "folia"]'
|
loaders: '["spigot", "paper", "purpur", "folia"]'
|
||||||
game-versions: '["1.18.x", "1.19.x", "1.20.x", "1.21.x"]'
|
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 }}
|
files: build/libs/${{ env.ONLINE_JAR_NAME }}
|
||||||
status: draft
|
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
|
#- name: Modrinth publish release
|
||||||
# if: ${{ github.event_name == 'release' && github.repository_owner == 'alexcrea' && success() && false}}
|
# if: ${{ github.event_name == 'release' && github.repository_owner == 'alexcrea' && success() && false}}
|
||||||
# uses: cloudnode-pro/modrinth-publish@v2
|
# uses: cloudnode-pro/modrinth-publish@v2
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue