From 58b06a5887e78093131e4063dc4bfc41b8813c84 Mon Sep 17 00:00:00 2001 From: Loyalsoldier Date: Sun, 15 Dec 2019 18:18:45 +0800 Subject: [PATCH] fixed color output --- .github/workflows/build.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 304c1597..df733518 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -111,37 +111,37 @@ jobs: - name: List above process results run: | - echo "${GREEN}>>>>>>>>>>>>>>>>>>>>>>>>${NC}" + echo -e "${GREEN}>>>>>>>>>>>>>>>>>>>>>>>>${NC}" echo "list files in geosite folder" ls -lah $GOPATH/src/$GEOSITE_REPO - echo "${GREEN}>>>>>>>>>>>>>>>>>>>>>>>>${NC}" + echo -e "${GREEN}>>>>>>>>>>>>>>>>>>>>>>>>${NC}" echo "list files in data folder" ls -lah $GOPATH/src/$GEOSITE_REPO/data - echo "${GREEN}>>>>>>>>>>>>>>>>>>>>>>>>${NC}" + echo -e "${GREEN}>>>>>>>>>>>>>>>>>>>>>>>>${NC}" echo "list last 10 lines of cn file" tail -n 10 $GOPATH/src/$GEOSITE_REPO/data/cn - echo "${GREEN}>>>>>>>>>>>>>>>>>>>>>>>>${NC}" + echo -e "${GREEN}>>>>>>>>>>>>>>>>>>>>>>>>${NC}" echo "list last 10 lines of geolocation-!cn file" tail -n 10 $GOPATH/src/$GEOSITE_REPO/data/geolocation-\!cn - echo "${GREEN}>>>>>>>>>>>>>>>>>>>>>>>>${NC}" + echo -e "${GREEN}>>>>>>>>>>>>>>>>>>>>>>>>${NC}" echo "list last 10 lines of category-ads-all file" tail -n 10 $GOPATH/src/$GEOSITE_REPO/data/category-ads-all - echo "${GREEN}>>>>>>>>>>>>>>>>>>>>>>>>${NC}" + echo -e "${GREEN}>>>>>>>>>>>>>>>>>>>>>>>>${NC}" echo "list files in publish folder" ls -lah ./publish - echo "${GREEN}>>>>>>>>>>>>>>>>>>>>>>>>${NC}" + echo -e "${GREEN}>>>>>>>>>>>>>>>>>>>>>>>>${NC}" echo -e "${GREEN}完成啦!🌈${NC}"