Skip to content

Commit

Permalink
pypi publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
marius committed Dec 4, 2024
1 parent e06f610 commit dbecc17
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ jobs:

- name: Build wheels
uses: pypa/[email protected]
env:
CIBW_SKIP: "cp311-* cp312-*"
CIBW_BUILD: "cp310-manylinux_x86_64"
with:
config-file: "{package}/pyproject.toml"

Expand Down Expand Up @@ -55,7 +58,7 @@ jobs:

pypi-publish:
name: Upload release to PyPI
if: github.event_name == 'release' && github.event.action == 'published'
if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
needs: [build_wheels, make_sdist]
runs-on: ubuntu-latest
environment:
Expand Down

0 comments on commit dbecc17

Please sign in to comment.