This action downloads the latest version of a MaxMind GeoIP database
Required Account ID associated with your MaxMind account. This are available from https://www.maxmind.com/en/my_license_key
Required License key associated with your MaxMind account. This are available from https://www.maxmind.com/en/my_license_key
Required Enter the edition IDs of the databases you would like to update. Multiple edition IDs are separated by spaces.
Required Enter the workspace path to save databases in.
steps:
- name: Checkout
uses: actions/checkout@v4
- name: MaxMind GeoIP Updater
uses: yortyrh/geoipupdate-action@v4
with:
account-id: ${{ secrets.GEOIPUPDATE_ACCOUNT_ID }}
license-key: ${{ secrets.GEOIPUPDATE_LICENSE_KEY }}
edition-ids: 'GeoLite2-City'
db-path: 'dbs'
- name: List files
run: |
ls -l dbs