Try GChat notification for VSCode RCs
This commit is contained in:
41
.github/workflows/build-vscode-extension.yml
vendored
41
.github/workflows/build-vscode-extension.yml
vendored
@@ -59,24 +59,23 @@ jobs:
|
||||
aws s3 cp ./vsix/$vsix_file s3://$AWS_S3_BUCKET/$s3_path/$vsix_file --no-progress
|
||||
echo "version=$base_version" >> $GITHUB_OUTPUT
|
||||
echo "s3_url=${DOWNLOAD_URL_ROOT}/$s3_path/$vsix_file" >> $GITHUB_OUTPUT
|
||||
- id: tools-team-slack
|
||||
if: ${{ inputs.dist == 'release' }}
|
||||
uses: slackapi/slack-github-action@v1.26
|
||||
env:
|
||||
SLACK_BOT_TOKEN: ${{ secrets.VMWARE_SLACK_BOT_TOKEN }}
|
||||
with:
|
||||
channel-id: "C0188MENU2J"
|
||||
payload: |
|
||||
{
|
||||
"text": "Release build `${{ inputs.extension-name }}-${{ steps.upload-release.outputs.version }}`",
|
||||
"blocks": [
|
||||
{
|
||||
"type": "section",
|
||||
"text": {
|
||||
"type": "mrkdwn",
|
||||
"text": "Release build for `${{ inputs.extension-name }}-${{ steps.upload-release.outputs.version }}` is available: ${{ steps.upload-release.outputs.s3_url }}"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
# - id: tools-team-slack
|
||||
# if: ${{ inputs.dist == 'release' }}
|
||||
# uses: slackapi/slack-github-action@v1.26
|
||||
# env:
|
||||
# SLACK_BOT_TOKEN: ${{ secrets.VMWARE_SLACK_BOT_TOKEN }}
|
||||
# with:
|
||||
# channel-id: "C0188MENU2J"
|
||||
# payload: |
|
||||
# {
|
||||
# "text": "Release build `${{ inputs.extension-name }}-${{ steps.upload-release.outputs.version }}`",
|
||||
# "blocks": [
|
||||
# {
|
||||
# "type": "section",
|
||||
# "text": {
|
||||
# "type": "mrkdwn",
|
||||
# "text": "Release build for `${{ inputs.extension-name }}-${{ steps.upload-release.outputs.version }}` is available: ${{ steps.upload-release.outputs.s3_url }}"
|
||||
# }
|
||||
# }
|
||||
# ]
|
||||
# }
|
||||
|
||||
Reference in New Issue
Block a user