diff --git a/.github/workflows/pypi-release.yaml b/.github/workflows/pypi-release.yaml index b9f4a01..1f5f6d2 100644 --- a/.github/workflows/pypi-release.yaml +++ b/.github/workflows/pypi-release.yaml @@ -28,6 +28,8 @@ jobs: run: | python -m pip install --upgrade pip python -m pip install build twine + git clean -xdf + git restore -SW . # This step is only necessary for testing purposes and for TestPyPI - name: Fix up version string for TestPyPI @@ -40,8 +42,6 @@ jobs: - name: Build tarball and wheels run: | - git clean -xdf - git restore -SW . python -m build - name: Check built artifacts run: |