Skip to content

Commit

Permalink
Fix workflow syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
cmin764 committed Nov 6, 2024
1 parent 1e545fe commit 8f9ace3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,15 @@ jobs:
failed=false
for step in "test" "format_check" "lint" "type_check"; do
outcome="${{ steps[$step].outcome }}"
outcome="${{ steps.$step.outcome }}"
if [ "$outcome" != "success" ]; then
echo "❌ $step failed"
failed=true
else
echo "✔ $step passed"
fi
done
if [ "$failed" = true ]; then
echo "One or more checks failed."
exit 1
Expand Down

0 comments on commit 8f9ace3

Please sign in to comment.