Skip to content

Commit

Permalink
Add sdist to pypi build (#57)
Browse files Browse the repository at this point in the history
* update maturin config

* build sdist
  • Loading branch information
goulart-paul authored Sep 26, 2023
1 parent a037c9d commit 80eccf3
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,27 @@ jobs:
name: wheels
path: dist

sdist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ env.PYTHON_VERSION }}

- name: Build sdist
uses: PyO3/maturin-action@v1
with:
command: sdist
manylinux: auto
args: --out dist

- name: Upload sdist
uses: actions/upload-artifact@v3
with:
name: sdist
path: dist


release:
name: Release
Expand Down

0 comments on commit 80eccf3

Please sign in to comment.