2022-10-09 16:40:04 +02:00
|
|
|
name: Announce release on discord
|
2023-03-17 22:25:41 +01:00
|
|
|
#on:
|
|
|
|
# workflow_run:
|
|
|
|
# workflows: ["Upload release assets"]
|
|
|
|
# types:
|
|
|
|
# - completed
|
2022-10-09 16:40:04 +02:00
|
|
|
jobs:
|
|
|
|
send_announcement:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: send custom message with args
|
|
|
|
env:
|
|
|
|
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
|
|
|
|
DISCORD_USERNAME: FastAsyncWorldEdit Release
|
|
|
|
DISCORD_AVATAR: https://raw.githubusercontent.com/IntellectualSites/Assets/main/plugins/FastAsyncWorldEdit/FastAsyncWorldEdit.png
|
2023-04-23 22:47:30 +02:00
|
|
|
uses: Ilshidur/action-discord@0.3.2
|
2022-10-09 16:40:04 +02:00
|
|
|
with:
|
|
|
|
args: |
|
|
|
|
"<@&525015715300900875> <@&706463154804097105> <@&671372968462516240>"
|
|
|
|
""
|
|
|
|
"<:fawe:730750370984493106> **FastAsyncWorldEdit ${{ github.event.release.tag_name }} has been released!**"
|
|
|
|
""
|
|
|
|
"Click here to view changelog: https://github.com/IntellectualSites/FastAsyncWorldEdit/releases/tag/${{ github.event.release.tag_name }}"
|
|
|
|
""
|
|
|
|
"The download is available at:"
|
|
|
|
"- Spigot: <https://www.spigotmc.org/resources/13932/>"
|
2024-11-14 17:20:53 +01:00
|
|
|
"- Modrinth: <https://modrinth.com/plugin/fastasyncworldedit>"
|
2022-10-09 16:40:04 +02:00
|
|
|
"- CurseForge: <https://www.curseforge.com/minecraft/bukkit-plugins/fawe>"
|