mirror of
https://github.com/MetaCubeX/meta-rules-dat.git
synced 2024-11-14 05:15:35 +08:00
try to fixed grep issue
This commit is contained in:
parent
ea1de172c1
commit
299cb070b8
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -83,7 +83,7 @@ jobs:
|
|||||||
- name: Get and add reject domains from @h2y/Shadowrocket-ADBlock-Rules into category-ads-all
|
- name: Get and add reject domains from @h2y/Shadowrocket-ADBlock-Rules into category-ads-all
|
||||||
run: |
|
run: |
|
||||||
cd $GOPATH/src/$GEOSITE_REPO/data
|
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
|
echo "include:adblockreject" >> category-ads-all
|
||||||
|
|
||||||
- name: Build geosite.dat file
|
- name: Build geosite.dat file
|
||||||
|
Loading…
Reference in New Issue
Block a user