From 21289621d67abe85d070a2f802d5e889d1dce6c6 Mon Sep 17 00:00:00 2001 From: Benjamin Curtis Date: Tue, 18 Jun 2024 11:46:34 -0700 Subject: [PATCH 1/2] Add defaults --- action.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/action.yml b/action.yml index d1b2080..98121c8 100644 --- a/action.yml +++ b/action.yml @@ -23,18 +23,23 @@ inputs: description: 'Your case-sensitive MaxMind license key. This in particular uses the `GEOIPUPDATE_LICENSE_KEY_FILE` environment variable.' host: description: 'The host name of the server to use. The default is `https://updates.maxmind.com`.' + default: 'https://updates.maxmind.com' proxy: description: 'The proxy host name or IP address. You may optionally specify a port number, e.g., `127.0.0.1:8888`. If no port number is specified, 1080 will be used.' proxy-user-password: description: 'The proxy username and password, separated by a colon. For instance, `username:password`.' preserve-file-times: description: 'Whether to preserve modification times of files downloaded from the server. This option is either `0` or `1`. The default is `0`.' + default: 0 lock-file: description: 'The lock file to use. This ensures only one `geoipupdate` process can run at a time. Note: Once created, this lockfile is not removed from the filesystem. The default is `.geoipupdate.lock` under the `dp-path`.' + default: '.geoipupdate.lock' retry-for: description: 'The amount of time to retry for when errors during HTTP transactions are encountered. It can be specified as a (possibly fractional) decimal number followed by a unit suffix. Valid time units are `ns`, `us` (or `µs`), `ms`, `s`, `m`, `h`. The default is `5m` (5 minutes).' + default: '5m' parallelism: description: 'The maximum number of parallel database downloads. The default is 1, which means that databases will be downloaded sequentially.' + default: 1 runs: using: 'docker' From cd250884102e2de33fd75b1d9d2396e2d42d7582 Mon Sep 17 00:00:00 2001 From: Benjamin Curtis Date: Tue, 18 Jun 2024 12:10:04 -0700 Subject: [PATCH 2/2] Fix host --- action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 98121c8..6792c5f 100644 --- a/action.yml +++ b/action.yml @@ -22,8 +22,8 @@ inputs: license-key-file: description: 'Your case-sensitive MaxMind license key. This in particular uses the `GEOIPUPDATE_LICENSE_KEY_FILE` environment variable.' host: - description: 'The host name of the server to use. The default is `https://updates.maxmind.com`.' - default: 'https://updates.maxmind.com' + description: 'The host name of the server to use. The default is `updates.maxmind.com`.' + default: 'updates.maxmind.com' proxy: description: 'The proxy host name or IP address. You may optionally specify a port number, e.g., `127.0.0.1:8888`. If no port number is specified, 1080 will be used.' proxy-user-password: