From 064beecc5b1993759aeb7e876cc4fd226252d036 Mon Sep 17 00:00:00 2001 From: Travis Date: Thu, 14 Apr 2022 09:31:56 -0500 Subject: [PATCH] exit with non-zero status on error --- .github/workflows/action.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/action.yaml b/.github/workflows/action.yaml index 44de3bb4b..ee07cfa56 100644 --- a/.github/workflows/action.yaml +++ b/.github/workflows/action.yaml @@ -95,7 +95,7 @@ jobs: --payload $(echo "{\"input\": \"${{ matrix.input }}\"}" | base64) \ --output json out if grep -q "Error" out; then - exit1 + exit 1 fi - name: Destroy test function if: ${{ always() }} @@ -120,4 +120,4 @@ jobs: --s3-key ${{ github.repository }}/${{ github.sha }}.zip \ --publish - \ No newline at end of file +