From 2e301a4219d4be929219b6e5cb1b1f869bfd20a5 Mon Sep 17 00:00:00 2001 From: IceCodeNew <32576256+IceCodeNew@users.noreply.github.com> Date: Sun, 7 Jun 2020 21:08:13 +0800 Subject: [PATCH] Update build.yml Switch cnipv4 source to my own repo, which should be more accurate. Please be noticed that its daily update is scheduled on 11:30 AM (CST). --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2682338..ad2bbbb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,7 +1,7 @@ name: Build V2Ray rules dat files on: schedule: - - cron: "0 22 * * *" + - cron: "30 3 * * *" push: branches: - master @@ -57,7 +57,7 @@ jobs: - name: Generate geoip.dat file run: | go get -u -v -insecure $GEOIP_REPO - geoip --country=./geoip/GeoLite2-Country-Locations-en.csv --ipv4=./geoip/GeoLite2-Country-Blocks-IPv4.csv --ipv6=./geoip/GeoLite2-Country-Blocks-IPv6.csv --cnipv4url=https://raw.githubusercontent.com/pexcn/daily/gh-pages/chnroute/chnroute.txt + geoip --country=./geoip/GeoLite2-Country-Locations-en.csv --ipv4=./geoip/GeoLite2-Country-Blocks-IPv4.csv --ipv6=./geoip/GeoLite2-Country-Blocks-IPv6.csv --cnipv4url=https://raw.githubusercontent.com/IceCodeNew/4Share/master/geoip_china/china_ip_list.txt - name: Download geosite project run: |