diff --git a/.github/workflows/c_lint.yaml b/.github/workflows/c_lint.yaml index 80e015e..33c0d60 100644 --- a/.github/workflows/c_lint.yaml +++ b/.github/workflows/c_lint.yaml @@ -18,10 +18,7 @@ jobs: format-review: true passive-reviews: true - name: Fail if there are linter errors - if: ${{steps.linter.outputs.clang-format-checks-failed}} + if: ${{steps.linter.outputs.clang-format-checks-failed > 0}} run: | echo "Linter errors occurred, failing the job." - for out in ${{steps.linter.outputs.*}}; do - echo "$out" - done exit 1 # This will cause the step to fail