File tree 1 file changed +9
-1
lines changed
1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 54
54
changelog="${changelog//$'\r'/'%0D'}"
55
55
echo "::set-output name=latestChangelog::$changelog"
56
56
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
+
57
64
- name : Discord Message
58
65
uses : tsickert/discord-webhook@v4.0.0
59
66
with :
60
67
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}}) "
62
69
embed-description : " ${{steps.changelog.outputs.latestChangelog}}"
70
+ token : " ${{ secrets.GITHUB_TOKEN }}"
You can’t perform that action at this time.
0 commit comments