fix
This commit is contained in:
@@ -58,14 +58,14 @@ runs:
|
|||||||
- name: Send message
|
- name: Send message
|
||||||
run: |
|
run: |
|
||||||
STATUS = ${{ inputs.status }}
|
STATUS = ${{ inputs.status }}
|
||||||
if [[ STATUS == "success" ]]; then
|
if [[ "$STATUS" == "success" ]]; then
|
||||||
STATUS="✅"
|
STATUS="✅"
|
||||||
elif [[ STATUS == "failure" ]]; then
|
elif [[ "$STATUS" == "failure" ]]; then
|
||||||
STATUS="❌"
|
STATUS="❌"
|
||||||
elif [[ STATUS == "cancelled" ]]; then
|
elif [[ "$STATUS" == "cancelled" ]]; then
|
||||||
STATUS="⚠️"
|
STATUS="⚠️"
|
||||||
fi
|
fi
|
||||||
if [[ STATUS != '' ]]; then
|
if [[ "$STATUS" != '' ]]; then
|
||||||
STATUS="$STATUS "
|
STATUS="$STATUS "
|
||||||
fi
|
fi
|
||||||
CAPTION="$STATUS${{ inputs.caption }}"
|
CAPTION="$STATUS${{ inputs.caption }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user