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