Skip to content

Commit a31ff3e

Browse files
committed
GChat V2 card
1 parent aa1c58d commit a31ff3e

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

.github/workflows/test-eclipse-distro-gchat-notification.yml

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
filename=${file:${#s3_url}+1}
5959
echo $download_url
6060
echo $filename
61-
echo "<li><a href=${download_url}>${filename}</a></li>" >> $downloads_html
61+
echo "<a href=${download_url}>${filename}</a><br/>" >> $downloads_html
6262
fi
6363
done
6464
cat ./$downloads_html
@@ -109,30 +109,30 @@ jobs:
109109
\"cardsV2\": [
110110
{
111111
\"card\": {
112-
\"header\": {
113-
\"title\": \"STS ${{ inputs.version }} ${build_type}\",
114-
\"subtitle\": \"Eclipse ${eclipse_version}\",
115-
\"imageUrl\": \"https://avatars.githubusercontent.com/u/317776?s=48&amp;v=4\",
116-
},
117-
\"sections\": [
118-
{
119-
\"widgets\": [
120-
{
121-
\"decoratedText\": {
122-
\"topLabel\": \"P2 Update Site\",
123-
\"text\": \"<a href=${DOWNLOAD_URL_ROOT}/${{ inputs.p2_path }}>${DOWNLOAD_URL_ROOT}/${{ inputs.p2_path }}</a>\"
124-
}
125-
},
126-
{
127-
\"decoratedText\": {
128-
\"topLabel\": \"Distributions\",
129-
\"text\": \"${distro_links}\",
130-
\"wrapText\": true
112+
\"header\": {
113+
\"title\": \"STS ${{ inputs.version }} ${build_type}\",
114+
\"subtitle\": \"Eclipse ${eclipse_version}\",
115+
\"imageUrl\": \"https://avatars.githubusercontent.com/u/317776?s=48&amp;v=4\",
116+
},
117+
\"sections\": [
118+
{
119+
\"widgets\": [
120+
{
121+
\"decoratedText\": {
122+
\"topLabel\": \"P2 Update Site\",
123+
\"text\": \"<a href=${DOWNLOAD_URL_ROOT}/${{ inputs.p2_path }}>${DOWNLOAD_URL_ROOT}/${{ inputs.p2_path }}</a>\"
124+
}
125+
},
126+
{
127+
\"decoratedText\": {
128+
\"topLabel\": \"Distributions\",
129+
\"text\": \"${distro_links}\",
130+
\"wrapText\": true
131+
}
131132
}
132-
}
133-
]
134-
}
135-
]
133+
]
134+
}
135+
]
136136
}
137137
}
138138
]

0 commit comments

Comments
 (0)