GHA: correct failed build condition for slack notifications

This commit is contained in:
aboyko
2023-11-01 14:14:42 -04:00
parent 9e982d91c5
commit e39104b95a
2 changed files with 4 additions and 2 deletions

View File

@@ -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 }})'