diff options
| author | loyalsoldier <[email protected]> | 2020-04-02 22:45:01 +0800 |
|---|---|---|
| committer | loyalsoldier <[email protected]> | 2020-04-03 09:40:40 +0800 |
| commit | a4f0fa8219fcb3bc3036d92104f9f4551be07a73 (patch) | |
| tree | 007854873240715f5f2888267d8bcf6bca5dfc1d /.github | |
| parent | b268d4e6ac34f0e7d90a18cf2e8ce8df10293417 (diff) | |
Fix geoip repo list
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/go.yml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index a9516d6e..1d5a5e09 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -19,7 +19,6 @@ jobs: run: | echo "::set-env name=TAG_NAME::$(date +%Y%m%d%H%M)" echo "::set-env name=RELEASE_NAME::$(date +%Y%m%d%H%M)" - echo "::set-env name=REPO_URL::github.com/v2ray/geoip" echo "::set-env name=GOPATH::$(dirname $GITHUB_WORKSPACE)" echo "::add-path::$(dirname $GITHUB_WORKSPACE)/bin" shell: bash @@ -33,7 +32,7 @@ jobs: - name: Build geoip.dat file run: | - go get -u -v -insecure $REPO_URL + go get -u -v -insecure github.com/${{ github.repository }} 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 |
