From ad9b91435026705af9f42d168689b217a4545dd7 Mon Sep 17 00:00:00 2001 From: Abdullah Barhoum Date: Tue, 6 Sep 2022 19:02:54 +0200 Subject: [PATCH] yaml --- .github/workflows/executable.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/executable.yml b/.github/workflows/executable.yml index 39899fe..827fea9 100644 --- a/.github/workflows/executable.yml +++ b/.github/workflows/executable.yml @@ -11,9 +11,11 @@ jobs: - shell: bash run: | shopt -s globstar; + FAIL=0 for file in **/*.sh; do if [ -f "${file}" ] && [ -r "${file}" ] && [ ! -x "${file}" ]; then echo "$file" is not executable; - exit 1; + FAIL=1 fi done + exit ${FAIL}