Browse Source

Send a notification when release staging has failed

Closes gh-45277
pull/45382/head
Stéphane Nicoll 8 months ago
parent
commit
6a3c944a0b
  1. 7
      .github/workflows/release.yml

7
.github/workflows/release.yml

@ -36,6 +36,13 @@ jobs:
signing-passphrase: ${{ secrets.GPG_PASSPHRASE }} signing-passphrase: ${{ secrets.GPG_PASSPHRASE }}
uri: ${{ vars.COMMERCIAL_DEPLOY_REPO_URL || 'https://repo.spring.io' }} uri: ${{ vars.COMMERCIAL_DEPLOY_REPO_URL || 'https://repo.spring.io' }}
username: ${{ vars.COMMERCIAL && secrets.COMMERCIAL_ARTIFACTORY_USERNAME || secrets.ARTIFACTORY_USERNAME }} username: ${{ vars.COMMERCIAL && secrets.COMMERCIAL_ARTIFACTORY_USERNAME || secrets.ARTIFACTORY_USERNAME }}
- name: Send Notification
if: failure()
uses: ./.github/actions/send-notification
with:
run-name: ${{ format('{0} | Release Staging | {1}', github.ref_name, inputs.version) }}
status: ${{ job.status }}
webhook-url: ${{ secrets.GOOGLE_CHAT_WEBHOOK_URL }}
outputs: outputs:
version: ${{ steps.build-and-publish.outputs.version }} version: ${{ steps.build-and-publish.outputs.version }}
verify: verify:

Loading…
Cancel
Save