Skip to content

Commit

Permalink
fix publish to pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
= committed May 11, 2024
1 parent 6aa80a6 commit 0dd8408
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
pip install setuptools wheel twine build
- name: Build package
run: python -m build
- name: Publish package
env:
TWINE_USERNAME: '__token__'
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: twine upload --repository testpypi dist/*
run: twine upload dist/*

0 comments on commit 0dd8408

Please sign in to comment.