Print conclusion when sending e-mail

This commit is contained in:
José Valim
2020-01-24 00:22:08 +01:00
parent 35669c9f71
commit 6092ee1ff1
+3 -5
View File
@@ -6,10 +6,8 @@ jobs:
sendEmail:
name: Send email
runs-on: ubuntu-latest
steps:
- name: Dump GitHub context
steps:
- run: echo "CI conclusion: $SUITE_CONCLUSION" && false
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
- run: echo "CI failed" && false
SUITE_CONCLUSION: ${{ github.event.check_suite.conclusion }}
if: github.event.check_suite.conclusion != 'neutral' && github.event.check_suite.conclusion != 'success'