From 3e6c76ed45e96e6932002dd08364dc1e8e894b5c Mon Sep 17 00:00:00 2001 From: Max Jones <14077947+maxrjones@users.noreply.github.com> Date: Fri, 12 Apr 2024 17:41:04 -0400 Subject: [PATCH] Reorder steps --- .github/workflows/pypi-release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: |