File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -18,17 +18,21 @@ jobs:
1818 runs-on : ubuntu-latest
1919
2020 steps :
21- - uses : actions/checkout@v2
21+ - uses : actions/checkout@v3
2222 - name : Set up Python
23- uses : actions/setup-python@v2
23+ uses : actions/setup-python@v4
2424 with :
2525 python-version : ' 3.x'
26+ - name : Install Rust toolchain
27+ uses : dtolnay/rust-toolchain@stable
2628 - name : Install dependencies
2729 run : |
2830 python -m pip install --upgrade pip
29- pip install build
30- - name : Build package
31- run : python -m build
31+ pip install build maturin
32+ - uses : PyO3/maturin-action@v1
33+ with :
34+ command : build
35+ args : --release --sdist -o dist
3236 - name : Publish package
3337 uses : pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
3438 with :
You can’t perform that action at this time.
0 commit comments