Skip to content

Commit b9fa420

Browse files
committed
[GHA] Correct gchat notification json
1 parent 468eaa9 commit b9fa420

File tree

1 file changed

+31
-29
lines changed

1 file changed

+31
-29
lines changed

.github/workflows/release-vscode-extension.yml

+31-29
Original file line numberDiff line numberDiff line change
@@ -99,36 +99,38 @@ jobs:
9999
--header 'Content-Type: application/json' \
100100
--data-raw '{
101101
"cards": [
102-
{
103-
"header": {
104-
"title": "${{ inputs.extension-name }} ${{ steps.version.outputs.version }}",
105-
"subtitle": "Release Candidate ${{ inputs.postfix }}",
106-
"imageUrl": "https://code.visualstudio.com/assets/images/code-stable.png",
107-
},
108-
"sections": [
109-
{
110-
"widgets": [
111-
{
112-
"textParagraph": {
113-
"text": "VSCode extension <b>${{ inputs.extension-name }}</b> release candidate build <b>${{ inputs.postfix }}</b> is available: <a href=${{ steps.upload-release.outputs.s3_url }}>${{ steps.version.outputs.release_name }}.vsix</a>"
114-
}
115-
},
116-
{
117-
"buttons": [
118-
"textButton": {
119-
"text": "Download VSIX",
120-
"onClick": {
121-
"openLink": {
122-
"url": "${{ steps.upload-release.outputs.s3_url }}"
123-
}
124-
}
125-
}
126-
]
102+
{
103+
"header": {
104+
"title": "${{ inputs.extension-name }} ${{ steps.version.outputs.version }}",
105+
"subtitle": "Release Candidate ${{ inputs.postfix }}",
106+
"imageUrl": "https://code.visualstudio.com/assets/images/code-stable.png",
107+
},
108+
"sections": [
109+
{
110+
"widgets": [
111+
{
112+
"textParagraph": {
113+
"text": "VSCode extension <b>${{ inputs.extension-name }}</b> release candidate build <b>${{ inputs.postfix }}</b> is available: <a href=${{ steps.upload-release.outputs.s3_url }}>${{ steps.version.outputs.release_name }}.vsix</a>"
127114
}
128-
]
129-
}
130-
]
131-
}
115+
},
116+
{
117+
"buttons": [
118+
{
119+
"textButton": {
120+
"text": "Download VSIX",
121+
"onClick": {
122+
"openLink": {
123+
"url": "${{ steps.upload-release.outputs.s3_url }}"
124+
}
125+
}
126+
}
127+
}
128+
]
129+
}
130+
]
131+
}
132+
]
133+
}
132134
]
133135
}'
134136

0 commit comments

Comments
 (0)