File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed
Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change 9393 echo "COMMIT_SHORT_SHA=$calculatedSha" >> $GITHUB_ENV
9494
9595 - name : Archive release
96- uses : thedoctor0/zip-release@master
97- id : zip-binaries
98- with :
99- type : zip
100- directory : bin
101- filename : ${{ env.RELEASE_FILENAME }}-${{ env.RELEASE_VERSION }}.zip
96+ run : zip -r bin/${{ env.RELEASE_FILENAME }}-${{ env.RELEASE_VERSION }}.zip bin/
10297
10398 - name : Release with notes
10499 uses : softprops/action-gh-release@v1
@@ -127,7 +122,7 @@ jobs:
127122128123 with :
129124 webhook-url : ${{ secrets.DISCORD_WEBHOOK_URL }}
130- embed-title : ' 🎉 New update on `master` branch: ${{ fromJson(steps.get_pr_data.outputs.result).title }} '
131- embed-description : ${{ fromJson(steps.get_pr_data.outputs.result).body }}
132- embed-url : ${{ fromJson(steps.get_pr_data.outputs.result).html_url }}
125+ embed-title : ${{ steps.get_pr_data.outputs.result && fromJson(steps.get_pr_data.outputs.result).title || '🎉 New update on `master` branch' }}
126+ embed-description : ${{ steps.get_pr_data.outputs.result && fromJson(steps.get_pr_data.outputs.result).body || 'No description provided.' }}
127+ embed-url : ${{ steps.get_pr_data.outputs.result && fromJson(steps.get_pr_data.outputs.result).html_url || github.event.compare }}
133128
You can’t perform that action at this time.
0 commit comments