From 4050ed410a8ec9e7c4b431f97437221930283d58 Mon Sep 17 00:00:00 2001 From: Gonzalo Martinez Lema Date: Wed, 18 Dec 2024 13:35:42 +0100 Subject: [PATCH] Fetch whole repo and tags to find correct version This is because fetching tags only doesn't work. See https://github.com/actions/checkout/issues/1471 The simplest is to download the whole repo, since it's sufficiently small. The action will take a bit longer, but that's a small price to pay. --- .github/workflows/test_suite.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/test_suite.yml b/.github/workflows/test_suite.yml index fac86d632..29df1c093 100644 --- a/.github/workflows/test_suite.yml +++ b/.github/workflows/test_suite.yml @@ -17,6 +17,10 @@ jobs: steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 + fetch-tags: true + - name: Get LFS files run: git lfs pull # - name: Fix Conda permissions on macOS