From 1c9ba15f25cbe5442fc4265680c141418def83a3 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Thu, 5 Dec 2024 22:19:51 -0300 Subject: [PATCH] fix: do the thing --- action.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index eef8daa..e35b0ab 100644 --- a/action.yml +++ b/action.yml @@ -269,6 +269,8 @@ runs: run: exit 1 - name: Gracefully exit - if: ${{ !cancelled() }} && ${{ inputs.fail_ci_if_error }} != "true" + if: ${{ !cancelled() }} && "$CC_FAIL_CI_IF_ERROR" != "true" shell: bash run: exit 0 + env: + CC_FAIL_CI_IF_ERROR: ${{ inputs.fail_ci_if_error }}