This commit is contained in:
Kirill Chikalin
2025-03-20 10:21:06 +03:00
parent eccc9fcc11
commit 616ece8334

View File

@@ -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 }}"