diff --git a/.github/scripts/step-status b/.github/scripts/step-status new file mode 100755 index 00000000..4739dcaa --- /dev/null +++ b/.github/scripts/step-status @@ -0,0 +1,14 @@ +#!/bin/bash -e + +# echo "green encased checkmark" if "${1} == 0" +# echo "red X" if "${1} != 0" + +STEP_STATUS=${1} + +if [ "$STEP_STATUS" -eq 0 ]; then + # green check + echo -e "\xE2\x9C\x85" +else + # red x + echo -e "\xE2\x9D\x8C" +fi