From 299cb070b8082c1f298daf7b5f2d2b6ee97e796a Mon Sep 17 00:00:00 2001 From: loyalsoldier Date: Sat, 14 Dec 2019 02:04:14 +0800 Subject: [PATCH] try to fixed grep issue --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c60b063..3678c99 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -83,7 +83,7 @@ jobs: - name: Get and add reject domains from @h2y/Shadowrocket-ADBlock-Rules into category-ads-all run: | cd $GOPATH/src/$GEOSITE_REPO/data - curl -sSL $ADBLOCK_URL | grep --no-buffer -Eev '#' | grep --no-buffer -Eev '^\d{1,3}(\.\d{1,3}){3}' > adblockreject + curl -sSL $ADBLOCK_URL | grep -Eev '^\d{1,3}(\.\d{1,3}){3}' > adblockreject echo "include:adblockreject" >> category-ads-all - name: Build geosite.dat file