From bed9ce63b820d2bc973d1580daa19bceb8c0bb83 Mon Sep 17 00:00:00 2001 From: Johann Bernhardt Date: Wed, 1 Dec 2021 17:07:42 +0100 Subject: Migrate to unified build script and gradle 6 --- .github/scripts/test-no-crash-reports.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .github/scripts/test-no-crash-reports.sh (limited to '.github/scripts') 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 -- cgit