From b9fa4204c55b49bf1115918ca15bbf5eb2e3c8ff Mon Sep 17 00:00:00 2001 From: aboyko Date: Sat, 7 Sep 2024 16:41:25 -0400 Subject: [PATCH] [GHA] Correct gchat notification json --- .../workflows/release-vscode-extension.yml | 60 ++++++++++--------- 1 file changed, 31 insertions(+), 29 deletions(-) diff --git a/.github/workflows/release-vscode-extension.yml b/.github/workflows/release-vscode-extension.yml index f7ccf0b31c..7cec8f2cbe 100644 --- a/.github/workflows/release-vscode-extension.yml +++ b/.github/workflows/release-vscode-extension.yml @@ -99,36 +99,38 @@ jobs: --header 'Content-Type: application/json' \ --data-raw '{ "cards": [ - { - "header": { - "title": "${{ inputs.extension-name }} ${{ steps.version.outputs.version }}", - "subtitle": "Release Candidate ${{ inputs.postfix }}", - "imageUrl": "https://code.visualstudio.com/assets/images/code-stable.png", - }, - "sections": [ - { - "widgets": [ - { - "textParagraph": { - "text": "VSCode extension ${{ inputs.extension-name }} release candidate build ${{ inputs.postfix }} is available: ${{ steps.version.outputs.release_name }}.vsix" - } - }, - { - "buttons": [ - "textButton": { - "text": "Download VSIX", - "onClick": { - "openLink": { - "url": "${{ steps.upload-release.outputs.s3_url }}" - } - } - } - ] + { + "header": { + "title": "${{ inputs.extension-name }} ${{ steps.version.outputs.version }}", + "subtitle": "Release Candidate ${{ inputs.postfix }}", + "imageUrl": "https://code.visualstudio.com/assets/images/code-stable.png", + }, + "sections": [ + { + "widgets": [ + { + "textParagraph": { + "text": "VSCode extension ${{ inputs.extension-name }} release candidate build ${{ inputs.postfix }} is available: ${{ steps.version.outputs.release_name }}.vsix" } - ] - } - ] - } + }, + { + "buttons": [ + { + "textButton": { + "text": "Download VSIX", + "onClick": { + "openLink": { + "url": "${{ steps.upload-release.outputs.s3_url }}" + } + } + } + } + ] + } + ] + } + ] + } ] }'