Skip to content

Commit

Permalink
use poetry to publish
Browse files Browse the repository at this point in the history
  • Loading branch information
jameshawkes committed Mar 14, 2024
1 parent 8a65dbd commit fddea54
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,11 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
pip install poetry
- name: Build and publish
env:
TWINE_USERNAME: "__token__"
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
python setup.py sdist
twine upload dist/*
poetry build
poetry publish

0 comments on commit fddea54

Please sign in to comment.