Skip to content

Commit

Permalink
fix: upload pacakge to pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
hhatto committed May 28, 2024
1 parent 719923b commit 9bdde91
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@ jobs:
run: |
python -m pip install --upgrade pip build
pip install setuptools wheel twine
- name: Build and publish
- name: Build
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python -m build
python -m twine upload dist/*
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit 9bdde91

Please sign in to comment.