Skip to content

Commit e463df4

Browse files
committed
Fix status duisplay
1 parent 7c65c10 commit e463df4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/api.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ jobs:
101101
echo "Polling Cloud Build Status..."
102102
while true; do
103103
STATUS=$(gcloud builds describe "$BUILD_ID" --region=global --project=httpsms-86c51 --format="value(status)")
104-
echo " Status: $STATUS"
104+
echo -e " \033[90m$(date -u '+%Y-%m-%d %H:%M:%S UTC')\033[0m status=\"$STATUS\""
105105
case "$STATUS" in
106106
SUCCESS) echo -e "\033[32mBuild succeeded!\033[0m"; exit 0 ;;
107107
FAILURE|TIMEOUT|CANCELLED|EXPIRED|INTERNAL_ERROR) echo -e "\033[31mBuild failed with status: $STATUS\033[0m"; exit 1 ;;

0 commit comments

Comments
 (0)