From 65f22890271cf497f0eba1997b44c410642696b0 Mon Sep 17 00:00:00 2001 From: Cian Johnston Date: Thu, 8 Aug 2024 11:05:33 +0100 Subject: [PATCH] chore(ci): fix issue with checkout action (#306) (cherry picked from commit f6dbfb192b21e6f724bfed7eee98f407fecc7b98) --- .github/workflows/release.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index c5af4938..9b035483 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -20,8 +20,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - with: - fetch-tags: true + + # Workaround for actions/checkout#1467 + - name: Fetch tags + run: | + git fetch --tags --depth 1 --force - name: Echo Go Cache Paths id: go-cache-paths