aboutsummaryrefslogtreecommitdiff
path: root/.github/scripts
diff options
context:
space:
mode:
authorJohann Bernhardt <johann.bernhardt@tum.de>2021-12-08 14:11:35 +0100
committerJohann Bernhardt <johann.bernhardt@tum.de>2021-12-08 14:11:35 +0100
commit1c8fd630d6654098d1820ee437d390a06e33faa0 (patch)
treef2f30637c13c9a885ace4e9a512bdf4904d69b86 /.github/scripts
parent61fe53085f5580b8313a5e598a5a3a0a1ca7d681 (diff)
downloadGT5-Unofficial-1c8fd630d6654098d1820ee437d390a06e33faa0.tar.gz
GT5-Unofficial-1c8fd630d6654098d1820ee437d390a06e33faa0.tar.bz2
GT5-Unofficial-1c8fd630d6654098d1820ee437d390a06e33faa0.zip
Unify build script
Diffstat (limited to '.github/scripts')
-rw-r--r--.github/scripts/test-no-crash-reports.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/.github/scripts/test-no-crash-reports.sh b/.github/scripts/test-no-crash-reports.sh
new file mode 100644
index 0000000000..c67e342c06
--- /dev/null
+++ b/.github/scripts/test-no-crash-reports.sh
@@ -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