Fix release notes API call with heredoc syntax (#27096)
Release Notes: - N/A
This commit is contained in:
@@ -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 '{
|
||||
"version": "${{ github.event.release.tag_name }}",
|
||||
"markdown_body": ${{ toJSON(github.event.release.body) }}
|
||||
}'
|
||||
-d @- <<-JSON
|
||||
{
|
||||
"version": "${{ github.event.release.tag_name }}",
|
||||
"markdown_body": ${{ toJSON(github.event.release.body) }}
|
||||
}
|
||||
JSON
|
||||
|
||||
Reference in New Issue
Block a user