Skip to content

Commit

Permalink
Use tox config for publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
willu47 committed Jul 10, 2023
1 parent 872d2e6 commit f420d3d
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,8 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
pip install tox
- name: Build package
run: python -m build
run: tox -e build
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
run: tox -e publish

0 comments on commit f420d3d

Please sign in to comment.