Skip to content

Commit 6668347

Browse files
authored
Update build.yml
1 parent 71477fa commit 6668347

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,11 @@ jobs:
3434
run: |
3535
pip install -e .
3636
pip install --upgrade setuptools
37-
make docs
37+
make docs
38+
- name: Build binary wheel and a source tarball
39+
run: python setup.py sdist
40+
- name: Publish a Python distribution to PyPI
41+
uses: pypa/gh-action-pypi-publish@release
42+
with:
43+
user: __token__
44+
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)