diff --git a/.github/workflows/pypi-release.yml b/.github/workflows/pypi-release.yml index 89ab9d963e..5f3b1e1a12 100644 --- a/.github/workflows/pypi-release.yml +++ b/.github/workflows/pypi-release.yml @@ -28,6 +28,7 @@ jobs: python setup.py test - name: Build Python source distribution run: | + git clean -dfx python setup.py clean sdist --formats=gztar,zip - name: Prepare GPG signing key run: |