GHA: roll put slack build failed notification

This commit is contained in:
aboyko
2023-11-01 15:59:44 -04:00
parent 4fcf8ff9a5
commit 10cb1ef7ec
5 changed files with 14 additions and 21 deletions

View File

@@ -324,8 +324,7 @@ jobs:
notify-failure:
needs: [ eclipse-distro-build, sign-win-distros, sign-osx-distros, cleanup ]
if: ${{ always() && contains(needs.*.result, 'failure') }}
uses: ./.github/workflows/notify-failed-build.yml
uses: ./.github/workflows/notify-failed.yml
with:
link: '[${{ github.run_id }}](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})'
label: 'Failed Eclipse ${{ inputs.eclipse_profile }} Distribution ${{ inputs.build_type }} build'
md_message: "*Failed Eclipse '${{ inputs.eclipse_profile }}' Distribution ${{ inputs.build_type }} Build:* <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|${{ github.run_id }}>"
secrets: inherit