Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
aalves08 committed Dec 4, 2024
1 parent 19a3e37 commit 8a8289a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test-extension-workflows-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -203,15 +203,15 @@ jobs:
MSG_OUTPUT="$MSG_PREFIX"
for i in "${OUTPUT_ARRAY[@]}"
for index in "${!OUTPUT_ARRAY[@]}"
do
echo "$i"
if [[ $OUTPUT_ARRAY[$1] == "failure" ]]; then
echo "$index"
if [[ ${OUTPUT_ARRAY[$index]} == "failure" ]]; then
EMOJI="🆘"
else
EMOJI="✅"
fi
MSG_OUTPUT="$MSG_OUTPUT \n::: Status for $JOB_NAME_ARRAY[$i] => $OUTPUT_ARRAY[$i] $EMOJI"
MSG_OUTPUT="$MSG_OUTPUT \n::: Status for ${JOB_NAME_ARRAY[$index]} => ${OUTPUT_ARRAY[$index]} $EMOJI"
done
echo "message sent: $MSG_OUTPUT"
Expand Down

0 comments on commit 8a8289a

Please sign in to comment.