File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 5454 changelog="${changelog//$'\r'/'%0D'}"
5555 echo "::set-output name=latestChangelog::$changelog"
5656
57+ - name : Github Release
58+ id : release
59+ uses : softprops/action-gh-release@v1
60+ with :
61+ body : " ${{steps.changelog.outputs.latestChangelog}}"
62+ tag_name : " ${{fromJson(steps.package-json.outputs.packageJson).version}}"
63+
5764 - name : Discord Message
5865 uses : tsickert/discord-webhook@v4.0.0
5966 with :
6067 webhook-url : ${{ secrets.DISCORD_WEBHOOK_URL }}
61- embed-title : " Update available [${{fromJson(steps.package-json.outputs.packageJson).version}}]"
68+ embed-title : " [ Update available [${{fromJson(steps.package-json.outputs.packageJson).version}}]](${{steps.release.outputs.url}}) "
6269 embed-description : " ${{steps.changelog.outputs.latestChangelog}}"
70+ token : " ${{ secrets.GITHUB_TOKEN }}"
You can’t perform that action at this time.
0 commit comments