From e6304c1bae0e3102da45cb669f07e0504bf76d5a Mon Sep 17 00:00:00 2001 From: Tomas Janousek Date: Thu, 2 Nov 2023 17:49:30 +0000 Subject: [PATCH] ci: Try to fix uploading pre-releases to PyPI wtf GitHub: https://github.com/actions/checkout/issues/1467 https://github.com/actions/checkout/issues/1471 --- .github/workflows/pypi.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/pypi.yaml b/.github/workflows/pypi.yaml index 0115248..2637999 100644 --- a/.github/workflows/pypi.yaml +++ b/.github/workflows/pypi.yaml @@ -9,6 +9,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 # needed for pre-releases - name: Set up Python uses: actions/setup-python@v4 with: