From 56a1f9a3e9265119480b597c0a0859d2fe42e99a Mon Sep 17 00:00:00 2001 From: Loyalsoldier <10487845+Loyalsoldier@users.noreply.github.com> Date: Thu, 13 Aug 2020 14:34:45 +0800 Subject: [PATCH] Publish apple-cn.txt & google-cn.txt to release branch --- .github/workflows/build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a46c73d329..680b61c38b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -149,10 +149,12 @@ jobs: cp $GOPATH/src/$GEOSITE_REPO/data/geolocation-\!cn proxy-list.txt cp $GOPATH/src/$GEOSITE_REPO/data/category-ads-all reject-list.txt - - name: Add `google-cn` and `apple-cn` sub-lists for custom routing settings for third-party users due to accessibility in China mainland + - name: Add `google-cn` and `apple-cn` lists for custom routing settings due to accessibility in China Mainland run: | curl -sSL $GOOGLE_DOMAINS_URL | perl -ne '/^server=\/([^\/]+)\// && print "$1\n"' > $GOPATH/src/$GEOSITE_REPO/data/google-cn + curl -sSL $GOOGLE_DOMAINS_URL | perl -ne '/^server=\/([^\/]+)\// && print "$1\n"' > google-cn.txt curl -sSL $APPLE_DOMAINS_URL | perl -ne '/^server=\/([^\/]+)\// && print "$1\n"' > $GOPATH/src/$GEOSITE_REPO/data/apple-cn + curl -sSL $APPLE_DOMAINS_URL | perl -ne '/^server=\/([^\/]+)\// && print "$1\n"' > apple-cn.txt - name: Build geosite.dat file run: | @@ -164,6 +166,7 @@ jobs: install -Dp dlc.dat ./publish/geosite.dat install -p {proxy,direct,reject}-tld-list.txt ./publish/ install -p {proxy,direct,reject}-list.txt ./publish/ + install -p {apple,google}-cn.txt ./publish/ cd ./publish zip rules.zip {proxy,direct,reject}-list.txt geoip.dat geosite.dat sha256sum geoip.dat > geoip.dat.sha256sum