From 56ff4aee783724e8a1ccf4fbc52128289389ff48 Mon Sep 17 00:00:00 2001 From: Greg Bowler Date: Fri, 11 Nov 2022 10:40:12 +0000 Subject: [PATCH] feature: return non-zero exit code on failure --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 65a47b0..684c5f2 100644 --- a/action.yml +++ b/action.yml @@ -84,7 +84,7 @@ runs: run: | set -e bash <(curl -s https://raw.githubusercontent.com/php-actions/php-build/cee5b9fa9fbc4c888e7a62bbb7b8eade18e3c56b/php-build.bash) phpstan - ${{ github.action_path }}/phpstan-action.bash || cat ${{ github.workspace }}/output.log + ${{ github.action_path }}/phpstan-action.bash shell: bash branding: