Skip to content

Commit

Permalink
Change dir before running build script (issue space-ros#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkhansenbot authored and gmacario committed Sep 9, 2024
1 parent 047aef5 commit 4bd0b23
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 4bd0b23

Please sign in to comment.