Skip to content

Commit dfc2ee6

Browse files
authored
Update python-publish.yml
1 parent 5d6ce3e commit dfc2ee6

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/python-publish.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,11 @@ jobs:
2828
- name: Install dependencies
2929
run: |
3030
python -m pip install --upgrade pip
31-
pip install build
32-
- name: Build manylinux Python wheels
33-
uses: tmtenbrink/[email protected]
31+
pip install build maturin
32+
- uses: PyO3/maturin-action@v1
3433
with:
35-
python-versions: 'cp38-cp38 cp39-cp39 cp310-cp310 cp311-cp311'
36-
build-requirements: 'build'
34+
command: build
35+
args: --release --sdist -o dist
3736
- name: Publish package
3837
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
3938
with:

0 commit comments

Comments
 (0)