File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed
Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 11name : Announce release on discord
2- # on:
3- # workflow_run:
4- # workflows: [" Upload release assets" ]
5- # types:
6- # - completed
2+ on :
3+ workflow_run :
4+ workflows : [Upload release assets]
5+ types :
6+ - completed
77jobs :
88 send_announcement :
99 runs-on : ubuntu-latest
1818 args : |
1919 "<@&525015715300900875> <@&706463154804097105> <@&671372968462516240>"
2020 ""
21- "<:fawe:730750370984493106> **FastAsyncWorldEdit ${{ github.event.release.tag_name }} has been released!**"
21+ "<:fawe:730750370984493106> **FastAsyncWorldEdit ${{ github.event.workflow_run.outputs.tag }} has been released!**"
2222 ""
23- "Click here to view changelog: https://github.com/IntellectualSites/FastAsyncWorldEdit/releases/tag/${{ github.event.release.tag_name }}"
23+ "Click here to view changelog: https://github.com/IntellectualSites/FastAsyncWorldEdit/releases/tag/${{ github.event.workflow_run.outputs.tag }}"
2424 ""
2525 "The download is available at:"
2626 "- Spigot: <https://www.spigotmc.org/resources/13932/>"
Original file line number Diff line number Diff line change 2424 files : ' worldedit-bukkit/build/libs/FastAsyncWorldEdit-*.jar'
2525 repo-token : ${{ secrets.GITHUB_TOKEN }}
2626 release-tag : ${{ github.event.release.tag_name }}
27+ outputs :
28+ tag : ${{ github.event.release.tag_name }}
You can’t perform that action at this time.
0 commit comments