From 027cb480e0ae0e67cffb8b941d8f122c4f999c0b Mon Sep 17 00:00:00 2001 From: David Hotham Date: Wed, 19 Nov 2025 20:20:39 +0000 Subject: [PATCH] build and publish a wheel --- .github/workflows/pypi-release.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pypi-release.yml b/.github/workflows/pypi-release.yml index e7d6b18..e89210e 100644 --- a/.github/workflows/pypi-release.yml +++ b/.github/workflows/pypi-release.yml @@ -3,24 +3,24 @@ name: "PyPI releases" on: release jobs: - build_sdist: - name: Build Python source distribution + build_distributions: + name: Build distributions runs-on: ubuntu-latest steps: - uses: actions/checkout@v5 - - name: Build sdist - run: pipx run build --sdist + - name: Build distributions + run: pipx run build - uses: actions/upload-artifact@v5 with: - path: dist/*.tar.gz + path: dist/* pypi-publish: name: Upload release to PyPI if: github.event_name == 'release' && github.event.action == 'published' needs: - - build_sdist + - build_distributions runs-on: ubuntu-latest environment: name: pypi