From ea1de172c1cfe84d1ff350af1f75a83b4064909d Mon Sep 17 00:00:00 2001 From: loyalsoldier Date: Sat, 14 Dec 2019 01:59:59 +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 02bb320..c60b063 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 -ev '#' | grep -ev '^\d{1,3}(\.\d{1,3}){3}' > adblockreject + curl -sSL $ADBLOCK_URL | grep --no-buffer -Eev '#' | grep --no-buffer -Eev '^\d{1,3}(\.\d{1,3}){3}' > adblockreject echo "include:adblockreject" >> category-ads-all - name: Build geosite.dat file