fixed color output

This commit is contained in:
Loyalsoldier 2019-12-15 18:18:45 +08:00 committed by GitHub
parent 9ad5f9fd0d
commit 58b06a5887
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -111,37 +111,37 @@ jobs:
- name: List above process results - name: List above process results
run: | run: |
echo "${GREEN}>>>>>>>>>>>>>>>>>>>>>>>>${NC}" echo -e "${GREEN}>>>>>>>>>>>>>>>>>>>>>>>>${NC}"
echo "list files in geosite folder" echo "list files in geosite folder"
ls -lah $GOPATH/src/$GEOSITE_REPO ls -lah $GOPATH/src/$GEOSITE_REPO
echo "${GREEN}>>>>>>>>>>>>>>>>>>>>>>>>${NC}" echo -e "${GREEN}>>>>>>>>>>>>>>>>>>>>>>>>${NC}"
echo "list files in data folder" echo "list files in data folder"
ls -lah $GOPATH/src/$GEOSITE_REPO/data ls -lah $GOPATH/src/$GEOSITE_REPO/data
echo "${GREEN}>>>>>>>>>>>>>>>>>>>>>>>>${NC}" echo -e "${GREEN}>>>>>>>>>>>>>>>>>>>>>>>>${NC}"
echo "list last 10 lines of cn file" echo "list last 10 lines of cn file"
tail -n 10 $GOPATH/src/$GEOSITE_REPO/data/cn 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" echo "list last 10 lines of geolocation-!cn file"
tail -n 10 $GOPATH/src/$GEOSITE_REPO/data/geolocation-\!cn 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" echo "list last 10 lines of category-ads-all file"
tail -n 10 $GOPATH/src/$GEOSITE_REPO/data/category-ads-all tail -n 10 $GOPATH/src/$GEOSITE_REPO/data/category-ads-all
echo "${GREEN}>>>>>>>>>>>>>>>>>>>>>>>>${NC}" echo -e "${GREEN}>>>>>>>>>>>>>>>>>>>>>>>>${NC}"
echo "list files in publish folder" echo "list files in publish folder"
ls -lah ./publish ls -lah ./publish
echo "${GREEN}>>>>>>>>>>>>>>>>>>>>>>>>${NC}" echo -e "${GREEN}>>>>>>>>>>>>>>>>>>>>>>>>${NC}"
echo -e "${GREEN}完成啦!🌈${NC}" echo -e "${GREEN}完成啦!🌈${NC}"