ci: workaround server crash not resulting in gradle error; add step to check generated crash report

This commit is contained in:
Telan committed 2021-11-21 20:06:39 +02:00
1 parent 86de13e712
commit a5d5ea510a
3 files changed
+18 -7

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
directory="run/crash-reports"
if [ -d $directory ]; then
echo "Crash reports detected:"
cat $directory/*
exit 1
else
echo "No crash reports detected"
exit 0
fi