Fix release notes API call with heredoc syntax (#27096)
Release Notes: - N/A
This commit is contained in:
parent
4487dc1064
commit
2491426be7
1 changed files with 6 additions and 4 deletions
|
@ -61,7 +61,9 @@ jobs:
|
|||
curl -X POST "https://zed.dev/api/send_release_notes_email" \
|
||||
-H "Authorization: Bearer ${{ secrets.RELEASE_NOTES_API_TOKEN }}" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{
|
||||
-d @- <<-JSON
|
||||
{
|
||||
"version": "${{ github.event.release.tag_name }}",
|
||||
"markdown_body": ${{ toJSON(github.event.release.body) }}
|
||||
}'
|
||||
}
|
||||
JSON
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue