From cfd33af19379a2b126f9d4bcdc07cf60fc019f6f Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Thu, 27 Jul 2023 06:53:02 +0200 Subject: [PATCH] workflows: Fix checkout tags Hopefully fixes the tests on release tags. --- .github/workflows/release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fd4303f4..9ac8a9c8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,6 +18,9 @@ jobs: - name: Pacify git's permission check run: git config --global --add safe.directory /__w + - name: Workaround for https://github.com/actions/checkout/pull/697 + run: git fetch --force origin $(git describe --tags):refs/tags/$(git describe --tags) + - name: Install dependencies run: | sudo apt-get update