GHA: correct failed build condition for slack notifications
This commit is contained in:
@@ -101,7 +101,8 @@ jobs:
|
||||
fi
|
||||
|
||||
notify-failure:
|
||||
if: ${{ failure() }}
|
||||
needs: [ eclipse-language-servers-build ]
|
||||
if: ${{ always() && contains(needs.*.result, 'failure') }}
|
||||
uses: ./.github/workflows/notify-failed-build.yml
|
||||
with:
|
||||
link: '[${{ github.run_id }}](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})'
|
||||
|
||||
@@ -322,7 +322,8 @@ jobs:
|
||||
aws s3 rm s3://dist.springsource.com/sts4-distro-ci-temp --recursive --exclude "*" --include "${{ needs.eclipse-distro-build.outputs.id }}/*"
|
||||
|
||||
notify-failure:
|
||||
if: ${{ 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
|
||||
with:
|
||||
link: '[${{ github.run_id }}](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})'
|
||||
|
||||
Reference in New Issue
Block a user