File tree Expand file tree Collapse file tree 1 file changed +19
-10
lines changed Expand file tree Collapse file tree 1 file changed +19
-10
lines changed Original file line number Diff line number Diff line change @@ -70,24 +70,33 @@ jobs:
70
70
run : |
71
71
curl --location --request POST '${{ secrets.TOOLS_TEAM_GCHAT_WEBHOOK_URL }}' \
72
72
--header 'Content-Type: application/json' \
73
- --data-raw ' {
74
- "cards": [
73
+ --data-raw " {
74
+ \ "cards\ ": [
75
75
{
76
- "header": {
77
- "title": "Published release `$ VSIX_FILE` ",
78
- "imageUrl": "https://code.visualstudio.com/assets/images/code-stable.png",
76
+ \ "header\ ": {
77
+ \ "title\ ": \ "Published `${ VSIX_FILE}`\ ",
78
+ \ "imageUrl\ ": \ "https://code.visualstudio.com/assets/images/code-stable.png\ ",
79
79
},
80
- "sections": [
80
+ \ "sections\ ": [
81
81
{
82
- "widgets": [
82
+ \ "widgets\ ": [
83
83
{
84
- "textParagraph": {
85
- "text": "Published release `$VSIX_FILE`<https://marketplace.visualstudio.com/items?itemName=vmware.${{ inputs.extension-name }}|${{ inputs.extension-name }}>"
84
+ \"keyValue\": {
85
+ \"topLabel\": \"VSCode Marketplace\",
86
+ \"content\": \"<a href=\"https://marketplace.visualstudio.com/items?itemName=vmware.${{ inputs.extension-name }}|${{ inputs.extension-name }}\">${VSIX_FILE}</a>\",
87
+ \"contentMultiline\": true
88
+ }
89
+ },
90
+ {
91
+ \"keyValue\": {
92
+ \"topLabel\": \"Open VSX Registry\",
93
+ \"content\": \"<a href=\"https://open-vsx.org/extension/VMware/${{ inputs.extension-name }}\">${VSIX_FILE}</a>\",
94
+ \"contentMultiline\": true
86
95
}
87
96
}
88
97
]
89
98
}
90
99
]
91
100
}
92
101
]
93
- }'
102
+ }"
You can’t perform that action at this time.
0 commit comments