Skip to content

Commit

Permalink
Use twine and poetry to upload package
Browse files Browse the repository at this point in the history
  • Loading branch information
d1618033 committed Feb 12, 2020
1 parent cdffcab commit f7c1d1e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pythonpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
pip install twine poetry
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python setup.py sdist bdist_wheel
twine upload dist/*
poetry build
twine upload dist/*

0 comments on commit f7c1d1e

Please sign in to comment.