From 40f42192aabe4a356480b2d568082742a347073c Mon Sep 17 00:00:00 2001 From: Nyall Dawson Date: Tue, 26 Nov 2024 08:01:17 +1000 Subject: [PATCH] Another attempt --- .github/workflows/clazy.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/clazy.yml b/.github/workflows/clazy.yml index a57ea38..5b09aa8 100644 --- a/.github/workflows/clazy.yml +++ b/.github/workflows/clazy.yml @@ -61,7 +61,6 @@ jobs: install-stable: true database: build - - name: Exit if error - if: ${{steps.clazy.outputs.warnings-count > 0 }} - shell: bash + - name: Fail if warnings or errors exist + if: steps.clazy.outputs.warnings-count > 0 || steps.clazy.outputs.errors-count > 0 run: exit 1