fixed curl output bug

This commit is contained in:
loyalsoldier 2019-12-13 23:42:49 +08:00
parent 3edacd304d
commit 3bd1c362fb

View File

@ -52,7 +52,7 @@ jobs:
- name: Get and add gfwlist into geolocation-!cn - name: Get and add gfwlist into geolocation-!cn
run: | run: |
cd $GOPATH/src/$GEOSITE_REPO/data cd $GOPATH/src/$GEOSITE_REPO/data
curl -sSL $GFWLIST_URL &1> gfwlist &2>/dev/null curl -sSL $GFWLIST_URL > gfwlist
echo "include:gfwlist" >> geolocation-\!cn echo "include:gfwlist" >> geolocation-\!cn
- name: Get and add chinalist into cn - name: Get and add chinalist into cn