fix
This commit is contained in:
@@ -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 }}"
|
||||
|
||||
Reference in New Issue
Block a user