chore(CI): show rebar3.crushdump when actions failed

This commit is contained in:
zhanghongtong 2021-05-17 10:39:04 +08:00 committed by Rory Z
parent a7d2f44a5b
commit 18036fdf3b
1 changed files with 3 additions and 0 deletions

View File

@ -128,6 +128,9 @@ jobs:
printenv > .env printenv > .env
docker exec -i erlang bash -c "make cover" docker exec -i erlang bash -c "make cover"
docker exec --env-file .env -i erlang bash -c "make coveralls" docker exec --env-file .env -i erlang bash -c "make coveralls"
- name: cat rebar.crashdump
if: failure()
run: if [ -f 'rebar3.crashdump' ];then cat 'rebar3.crashdump' fi
- uses: actions/upload-artifact@v1 - uses: actions/upload-artifact@v1
if: failure() if: failure()
with: with: