From 3788bb75664fe0f40c4305654fcc1c17bf024517 Mon Sep 17 00:00:00 2001 From: Jon Koops Date: Wed, 1 May 2024 00:04:09 +0200 Subject: [PATCH] bug(ci): fix broken release job Signed-off-by: Jon Koops --- .github/workflows/release.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d65ae488d94..390dd3f0f60 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,6 +25,14 @@ jobs: steps: - name: Check out project uses: actions/checkout@v4 + with: + fetch-depth: 0 + # Needs to be an admin token to get around branch protection. + token: ${{ secrets.GH_TOKEN_REDALLEN }} + + # Fetches all tags from 'origin' and updates local tags, only fetches the latest commit. + - name: Fetch tags + run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* - name: Set up and build project uses: ./.github/actions/setup-project