summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorloyalsoldier <[email protected]>2020-06-07 14:03:49 +0800
committerloyalsoldier <[email protected]>2020-06-07 14:03:49 +0800
commita37f26d12c81dfc38a62e2dd022cb2c77fbd1f80 (patch)
tree7f2bab15f99c29c531f3e7a6401c01b8a5cb904f
parent3a5f8cbe55a0041f28f0305450b6d41f73d1603d (diff)
Fix geoip repo URL
-rw-r--r--.github/workflows/go.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml
index 2bd7d7b9..46b435c7 100644
--- a/.github/workflows/go.yml
+++ b/.github/workflows/go.yml
@@ -36,7 +36,7 @@ jobs:
- name: Build geoip.dat file
run: |
- go get -u -v -insecure github.com/${{ github.repository }}
+ go get -u -v -insecure $REPO_URL
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/17mon/china_ip_list/master/china_ip_list.txt
- name: Generate geoip.dat sha256 hash