File tree Expand file tree Collapse file tree 4 files changed +15
-4
lines changed
Expand file tree Collapse file tree 4 files changed +15
-4
lines changed Original file line number Diff line number Diff line change 66
77
88jobs :
9- tests :
9+ release :
1010 strategy :
1111 matrix :
1212 python-version : [3.8, 3.9]
3232 - name : Install dependencies
3333 run : |
3434 poetry install
35+ - name : Install Rust && maturin
36+ run : |
37+ curl https://sh.rustup.rs -sSf | sh -s -- -y
38+ source $HOME/.cargo/env
39+ pip install maturin twine
40+ - name : Build
41+ run : |
42+ maturin build --release --strip --interpreter python${{ matrix.python-version }}
3543 - name : Publish
44+ env :
45+ TWINE_USERNAME : ${{ secrets.PYPI_USERNAME }}
46+ TWINE_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
3647 run : |
3748 make publish
Original file line number Diff line number Diff line change 11[package ]
22name = " capara"
3- version = " 0.1.0 "
3+ version = " 0.1.1 "
44edition = " 2018"
55authors = [" Aviram Hassan <aviramyhassan@gmail.com>" ]
66
Original file line number Diff line number Diff line change @@ -106,4 +106,4 @@ test:
106106
107107.PHONY : publish
108108publish :
109- @ $( POETRY ) publish --username= $( PYPI_USERNAME ) --password= $( PYPI_PASSWORD ) --build
109+ twine upload --non-interactive --skip-existing target/wheels/ * .whl target/wheels/ * .tar.gz
Original file line number Diff line number Diff line change 11[tool .poetry ]
22name = " capara"
3- version = " 0.1.0 "
3+ version = " 0.1.1 "
44description = " Profiler for Python written in Rust especially for asyncio."
55authors = [" Aviram Hassan <aviramyhassan@gmail.com>" ]
66license = " MIT"
You can’t perform that action at this time.
0 commit comments