Skip to content

Commit 77f0f38

Browse files
committed
add build and publish to gha
1 parent a472ba8 commit 77f0f38

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/python.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,12 @@ jobs:
2929
- name: Test with pytest
3030
run: |
3131
pytest --cov={{packageName}}
32+
- name: build
33+
run: |
34+
pip install build
35+
python -m build
36+
- name: publish
37+
run: |
38+
pip install twine
39+
twine upload -u __token__ -p ${{ secrets.PYPI_TOKEN }} dist/*
40+

0 commit comments

Comments
 (0)