From 72bb873460788ae3b638ca14ad71d6e14adc5483 Mon Sep 17 00:00:00 2001 From: Ervin Hegedus Date: Sun, 5 Jan 2025 16:09:03 +0100 Subject: [PATCH] Use latest released version by commit id. Co-authored-by: Max Leske <250711+theseion@users.noreply.github.com> --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ddc0d8ec..4c741a43 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -112,7 +112,10 @@ jobs: fetch-depth: 0 - name: Build GeoIP run: | - git clone --depth 1 https://github.com/maxmind/geoip-api-c.git + git clone --depth 1 --no-checkout https://github.com/maxmind/geoip-api-c.git + git fetch --tags + # Check out the last release, v1.6.12 + git checkout 4b526e7331ca1d692b74a0509ddcc725622ed31a cd geoip-api-c autoreconf --install ./configure --disable-dependency-tracking --disable-silent-rules --prefix=/opt/homebrew