Skip to content

Commit

Permalink
Call command directly or exit 1
Browse files Browse the repository at this point in the history
  • Loading branch information
mkhansenbot committed Sep 4, 2024
1 parent e7edb84 commit 929481f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,8 @@ jobs:
run: |
# find the build.sh scripts and execute them
echo "Running all build.sh scripts in repo"
find . -iname 'build.sh' -exec ./{} \;
for f in $(find . -iname 'build.sh')
do
$f || exit 1
done
echo "Done running build.sh scripts"

0 comments on commit 929481f

Please sign in to comment.