From 616ece8334b2b7051c19aef4ab2ec792e404c67e Mon Sep 17 00:00:00 2001 From: Kirill Chikalin Date: Thu, 20 Mar 2025 10:21:06 +0300 Subject: [PATCH] fix --- action.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/action.yml b/action.yml index 251657e..3fe44f9 100644 --- a/action.yml +++ b/action.yml @@ -58,14 +58,14 @@ runs: - name: Send message run: | STATUS = ${{ inputs.status }} - if [[ STATUS == "success" ]]; then + if [[ "$STATUS" == "success" ]]; then STATUS="✅" - elif [[ STATUS == "failure" ]]; then + elif [[ "$STATUS" == "failure" ]]; then STATUS="❌" - elif [[ STATUS == "cancelled" ]]; then + elif [[ "$STATUS" == "cancelled" ]]; then STATUS="⚠️" fi - if [[ STATUS != '' ]]; then + if [[ "$STATUS" != '' ]]; then STATUS="$STATUS " fi CAPTION="$STATUS${{ inputs.caption }}"