Modify buildtestpublish_all.sh
Some checks failed
Build-Test-Publish / build (linux/arm64) (push) Failing after 30s
Build-Test-Publish / build (linux/amd64) (push) Failing after 32s
Build-Test-Publish / test-install-from-scratch (linux/amd64) (push) Has been skipped
Build-Test-Publish / test-install-from-scratch (linux/arm64) (push) Has been skipped

This commit is contained in:
Your Name 2025-06-25 22:32:04 +12:00
parent 54af706032
commit fffa88482a

View File

@ -175,27 +175,27 @@ function print_summary() {
# Format status with proper spacing and colors for Unicode characters # Format status with proper spacing and colors for Unicode characters
local build_col test_col publish_col local build_col test_col publish_col
# Format build status # Format build status with colors
case "$build_status" in case "$build_status" in
"✓") build_col=" ${GREEN}${NC} " ;; "✓") build_col=$(printf " ${GREEN}${NC} ") ;;
"✗") build_col=" ${RED}${NC} " ;; "✗") build_col=$(printf " ${RED}${NC} ") ;;
"SKIP") build_col=" ${YELLOW}-${NC} " ;; "SKIP") build_col=$(printf " ${YELLOW}-${NC} ") ;;
*) build_col=" - " ;; *) build_col=" - " ;;
esac esac
# Format test status # Format test status with colors
case "$test_status" in case "$test_status" in
"✓") test_col=" ${GREEN}${NC} " ;; "✓") test_col=$(printf " ${GREEN}${NC} ") ;;
"✗") test_col=" ${RED}${NC} " ;; "✗") test_col=$(printf " ${RED}${NC} ") ;;
"SKIP") test_col=" ${YELLOW}-${NC} " ;; "SKIP") test_col=$(printf " ${YELLOW}-${NC} ") ;;
*) test_col=" - " ;; *) test_col=" - " ;;
esac esac
# Format publish status # Format publish status with colors
case "$publish_status" in case "$publish_status" in
"✓") publish_col=" ${GREEN}${NC} " ;; "✓") publish_col=$(printf " ${GREEN}${NC} ") ;;
"✗") publish_col=" ${RED}${NC} " ;; "✗") publish_col=$(printf " ${RED}${NC} ") ;;
"SKIP") publish_col=" ${YELLOW}-${NC} " ;; "SKIP") publish_col=$(printf " ${YELLOW}-${NC} ") ;;
*) publish_col=" - " ;; *) publish_col=" - " ;;
esac esac