mirror of
https://github.com/alexcrea/CustomAnvil.git
synced 2026-06-23 16:16:17 +02:00
workflow invert & simplify logic to put not "" first
This commit is contained in:
parent
f13503f873
commit
196392e206
1 changed files with 2 additions and 2 deletions
4
.github/workflows/gradle.yml
vendored
4
.github/workflows/gradle.yml
vendored
|
|
@ -151,7 +151,7 @@ jobs:
|
||||||
token: ${{ secrets.MODRINTH_TOKEN }}
|
token: ${{ secrets.MODRINTH_TOKEN }}
|
||||||
project: S75Ueiq9
|
project: S75Ueiq9
|
||||||
name: ${{ github.event.release.name }}
|
name: ${{ github.event.release.name }}
|
||||||
version: ${{ github.event.release.tag_name }}${{ github.event.release.prerelease == false && '' || '-pre' }}
|
version: ${{ github.event.release.tag_name }}${{ github.event.release.prerelease && '-pre' || '' }}
|
||||||
loaders: ${{ env.MODRINTH_PLATFORMS }}
|
loaders: ${{ env.MODRINTH_PLATFORMS }}
|
||||||
game-versions: ${{ env.MODRINTH_VERSIONS }}
|
game-versions: ${{ env.MODRINTH_VERSIONS }}
|
||||||
channel: ${{ github.event.release.prerelease == false && 'release' || 'beta' }}
|
channel: ${{ github.event.release.prerelease == false && 'release' || 'beta' }}
|
||||||
|
|
@ -165,7 +165,7 @@ jobs:
|
||||||
webhook-url: ${{ secrets.RELEASE_WEBHOOK_URL }}
|
webhook-url: ${{ secrets.RELEASE_WEBHOOK_URL }}
|
||||||
content: |
|
content: |
|
||||||
${{ github.event.release.prerelease == false && '<@&1338546156325568642>' || '<@&1352296092989001768>' }}
|
${{ github.event.release.prerelease == false && '<@&1338546156325568642>' || '<@&1352296092989001768>' }}
|
||||||
# New ${{ github.event.release.prerelease == false && '' || 'beta' }} version of custom anvil ! <:CustomAnvil:1262550667986342001>([Modrinth](https://modrinth.com/plugin/customanvil), [Hangar](https://hangar.papermc.io/alexcrea/CustomAnvil) and [GitHub](${{ github.event.release.html_url }}) links)
|
# New ${{ github.event.release.prerelease && 'beta' || '' }} version of custom anvil ! <:CustomAnvil:1262550667986342001>([Modrinth](https://modrinth.com/plugin/customanvil), [Hangar](https://hangar.papermc.io/alexcrea/CustomAnvil) and [GitHub](${{ github.event.release.html_url }}) links)
|
||||||
-# note: automated release. spigot is not uploaded yet.
|
-# note: automated release. spigot is not uploaded yet.
|
||||||
|
|
||||||
${{ env.RELEASE_CHANGELOG }}
|
${{ env.RELEASE_CHANGELOG }}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue