pull/1/head
Dreamacro 2019-12-31 12:04:20 +08:00
parent 8d857cbe23
commit 754b83c776
2 changed files with 26 additions and 1 deletions

23
.github/workflows/bash.yml vendored Normal file
View File

@ -0,0 +1,23 @@
name: bash
on: [push]
jobs:
build:
name: Pull and Release
runs-on: ubuntu-latest
steps:
- name: Download file
env:
LICENSE_KEY: ${{ secrets.LICENSE_KEY }}
run: |
wget https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-Country&license_key=${LICENSE_KEY}&suffix=tar.gz -O ./GeoLite2-Country.tar.gz
tar zxvf ./GeoLite2-Country.tar.gz -C .
mv ./GeoLite2-Country_*/GeoLite2-Country.mmdb ./Country.mmdb
- name: Upload Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: Country.mmdb

View File

@ -1 +1,3 @@
# maxmind-geoip
# maxmind-geoip
https://blog.maxmind.com/2019/12/18/significant-changes-to-accessing-and-using-geolite2-databases/