diff --git a/.github/actions/nm-summary-build/action.yml b/.github/actions/nm-summary-build/action.yml index 6f0eb3b457a82..b6aa0c5b96da4 100644 --- a/.github/actions/nm-summary-build/action.yml +++ b/.github/actions/nm-summary-build/action.yml @@ -20,8 +20,6 @@ runs: using: composite steps: - run: | - BUILD_STATUS=${{ inputs.build_status }} - BUILD_EMOJI=$(./.github/scripts/step-status ${BUILD_STATUS}) WHL_STATUS=${{ inputs.whl_status }} WHL_EMOJI=$(./.github/scripts/step-status ${WHL_STATUS}) echo "testmo URL: ${{ inputs.testmo_run_url }}" >> $GITHUB_STEP_SUMMARY diff --git a/.github/scripts/step-status b/.github/scripts/step-status index b07f17517be2b..4739dcaa2223a 100755 --- a/.github/scripts/step-status +++ b/.github/scripts/step-status @@ -5,7 +5,7 @@ STEP_STATUS=${1} -if [ $STEP_STATUS -eq 0 ]; then +if [ "$STEP_STATUS" -eq 0 ]; then # green check echo -e "\xE2\x9C\x85" else