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: