Skip to content

Commit

Permalink
Iterate through and print each output variable used in action
Browse files Browse the repository at this point in the history
  • Loading branch information
devYaoYH committed Oct 22, 2024
1 parent 7c6a532 commit 8b99510
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/c_lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,7 @@ jobs:
if: ${{steps.linter.outputs.clang-format-checks-failed}}
run: |
echo "Linter errors occurred, failing the job."
echo "${{steps.linter.outputs.*}}"
for out in ${{steps.linter.outputs.*}}; do
echo "$out"
done
exit 1 # This will cause the step to fail

0 comments on commit 8b99510

Please sign in to comment.