aboutsummaryrefslogtreecommitdiff
path: root/.github/scripts
diff options
context:
space:
mode:
authorJohann Bernhardt <johann.bernhardt@tum.de>2021-12-01 17:07:42 +0100
committerJohann Bernhardt <johann.bernhardt@tum.de>2021-12-01 17:07:42 +0100
commitbed9ce63b820d2bc973d1580daa19bceb8c0bb83 (patch)
treea1bb4bbd35920d00ef8a33d97f51ec26b5be7dd6 /.github/scripts
parent066a8cf9fd2691fa3a157f8688fa889e587dc2c3 (diff)
downloadGT5-Unofficial-bed9ce63b820d2bc973d1580daa19bceb8c0bb83.tar.gz
GT5-Unofficial-bed9ce63b820d2bc973d1580daa19bceb8c0bb83.tar.bz2
GT5-Unofficial-bed9ce63b820d2bc973d1580daa19bceb8c0bb83.zip
Migrate to unified build script and gradle 6
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