From 1c8fd630d6654098d1820ee437d390a06e33faa0 Mon Sep 17 00:00:00 2001 From: Johann Bernhardt Date: Wed, 8 Dec 2021 14:11:35 +0100 Subject: Unify build script --- .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