From cb4cc62da01dcb6f3ac06390d3396633876262e5 Mon Sep 17 00:00:00 2001 From: AlexanderJuestel <45469915+AlexanderJuestel@users.noreply.github.com> Date: Tue, 31 Oct 2023 19:29:00 +0100 Subject: [PATCH] Update pypi_release.yml --- .github/workflows/pypi_release.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pypi_release.yml b/.github/workflows/pypi_release.yml index c78ac19..975ccf2 100644 --- a/.github/workflows/pypi_release.yml +++ b/.github/workflows/pypi_release.yml @@ -14,11 +14,12 @@ jobs: steps: - # Need the tags so that setuptools-scm can form a valid version number - - name: Fetch git tags - run: git fetch origin main 'refs/tags/*:refs/tags/*' + - uses: actions/checkout@v2 + # Need the tags so that setuptools-scm can form a valid version number + - name: Fetch git tags + run: git fetch origin 'refs/tags/*:refs/tags/*' - name: Set up Python uses: actions/setup-python@v2 with: