diff --git a/.github/workflows/publish-vscode-extension.yml b/.github/workflows/publish-vscode-extension.yml index f4311da18..7c06ce2bf 100644 --- a/.github/workflows/publish-vscode-extension.yml +++ b/.github/workflows/publish-vscode-extension.yml @@ -61,8 +61,33 @@ jobs: "type": "section", "text": { "type": "mrkdwn", - "text": "Release is now available on VSCode Marketplace: " + "text": "Published release `$VSIX_FILE`" } } ] } + - name: GChat spring-tools-team notification + run: | + curl --location --request POST '${{ secrets.TOOLS_TEAM_GCHAT_WEBHOOK_URL }}' \ + --header 'Content-Type: application/json' \ + --data-raw '{ + "cards": [ + { + "header": { + "title": "Published release `$VSIX_FILE`", + "imageUrl": "https://code.visualstudio.com/assets/images/code-stable.png", + }, + "sections": [ + { + "widgets": [ + { + "textParagraph": { + "text": "Published release `$VSIX_FILE`" + } + } + ] + } + ] + } + ] + }' diff --git a/.github/workflows/release-vscode-extension.yml b/.github/workflows/release-vscode-extension.yml index 11af8fb45..1f45d1844 100644 --- a/.github/workflows/release-vscode-extension.yml +++ b/.github/workflows/release-vscode-extension.yml @@ -115,14 +115,14 @@ jobs: }, { "buttons": [ - { - "text": "Download VSIX", - "onClick": { - "openLink": { - "url": "${{ steps.upload-release.outputs.s3_url }}" + textButton: { + "text": "Download VSIX", + "onClick": { + "openLink": { + "url": "${{ steps.upload-release.outputs.s3_url }}" + } } } - } ] } ]