Fix curl URL path

This commit is contained in:
Loyalsoldier 2019-12-31 23:40:04 +08:00 committed by GitHub
parent 5958c2493c
commit 5af129797e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,9 +41,7 @@ jobs:
- name: Get GeoLite2 file - name: Get GeoLite2 file
run: | run: |
ls -lah curl -L -o GeoLite2-Country-CSV.zip "https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-Country-CSV&license_key=JvbzLLx7qBZT&suffix=zip"
curl -L -o GeoLite2-Country-CSV.zip https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-Country-CSV&license_key=JvbzLLx7qBZT&suffix=zip
ls -lah
unzip GeoLite2-Country-CSV.zip unzip GeoLite2-Country-CSV.zip
rm -f GeoLite2-Country-CSV.zip rm -f GeoLite2-Country-CSV.zip
mv GeoLite2* geoip mv GeoLite2* geoip