Skip to content

Commit

Permalink
Change dir before running build script (issue #52)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkhansenbot committed Sep 9, 2024
1 parent c316131 commit 7e82581
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ jobs:
run: |
# find the build.sh scripts and execute them
echo "Running all build.sh scripts in repo"
path=$(pwd)
for f in $(find . -iname 'build.sh')
do
$f || exit 1
(cd $(dirname $f) && ./build.sh && cd $path) || (echo $f "Failed" && exit 1)
done
echo "Done running build.sh scripts"

0 comments on commit 7e82581

Please sign in to comment.