diff --git a/.github/workflows/publish-vscode-extension.yml b/.github/workflows/publish-vscode-extension.yml index 7c06ce2bf..45c37f105 100644 --- a/.github/workflows/publish-vscode-extension.yml +++ b/.github/workflows/publish-vscode-extension.yml @@ -70,19 +70,28 @@ jobs: run: | curl --location --request POST '${{ secrets.TOOLS_TEAM_GCHAT_WEBHOOK_URL }}' \ --header 'Content-Type: application/json' \ - --data-raw '{ - "cards": [ + --data-raw "{ + \"cards\": [ { - "header": { - "title": "Published release `$VSIX_FILE`", - "imageUrl": "https://code.visualstudio.com/assets/images/code-stable.png", + \"header\": { + \"title\": \"Published `${VSIX_FILE}`\", + \"imageUrl\": \"https://code.visualstudio.com/assets/images/code-stable.png\", }, - "sections": [ + \"sections\": [ { - "widgets": [ + \"widgets\": [ { - "textParagraph": { - "text": "Published release `$VSIX_FILE`" + \"keyValue\": { + \"topLabel\": \"VSCode Marketplace\", + \"content\": \"${VSIX_FILE}\", + \"contentMultiline\": true + } + }, + { + \"keyValue\": { + \"topLabel\": \"Open VSX Registry\", + \"content\": \"${VSIX_FILE}\", + \"contentMultiline\": true } } ] @@ -90,4 +99,4 @@ jobs: ] } ] - }' + }"