Skip to content

Commit

Permalink
Merge pull request #41 from michelleN/fix
Browse files Browse the repository at this point in the history
fix err in script
  • Loading branch information
michelleN authored Nov 6, 2024
2 parents 28b6dda + e68dad3 commit 97526e8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions scripts/build_examples.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,13 @@ for example in "$EXAMPLES_DIR"/*; do
build_output=$(spin build 2>&1)
build_status=$?

echo "$build_output"

if [[ $build_status -eq 0 ]]; then
echo "`$ spin build` succeeded for $example_name"
echo "✅ spin build succeeded for $example_name"
else
echo "`$ spin build` failed for $example_name"
echo "❌ spin build failed for $example_name"
fi
echo "$build_output"

echo "::endgroup::"

Expand Down

0 comments on commit 97526e8

Please sign in to comment.