Skip to content

Commit

Permalink
publish the package to PyPI going forward
Browse files Browse the repository at this point in the history
  • Loading branch information
pudo committed Feb 14, 2023
1 parent 3df782b commit e014fdf
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,16 @@ jobs:
- name: Run pytest
run: |
pytest -v tests/unit
# - name: Build a distribution
# run: |
# python setup.py sdist bdist_wheel
# - name: Publish a Python distribution to PyPI
# if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
# uses: pypa/gh-action-pypi-publish@master
# with:
# user: __token__
# password: ${{ secrets.pypi_password }}
# skip_existing: true
- name: Build a distribution
run: |
python setup.py sdist bdist_wheel
- name: Publish a Python distribution to PyPI
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.pypi_password }}
skip_existing: true

build:
runs-on: ubuntu-latest
Expand Down

0 comments on commit e014fdf

Please sign in to comment.