Skip to content

Commit

Permalink
ci: use uv to publish to pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
kiyoon committed Dec 12, 2024
1 parent 7a05886 commit c5c81da
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,5 @@ jobs:
- uses: deargen/workflows/actions/setup-python-and-uv@master
- name: Build and upload to PyPI
run: |
uv venv
source .venv/bin/activate
uv pip install build twine
python -m build . --sdist
twine upload dist/* -u __token__ -p ${{ secrets.PYPI_API_TOKEN }} --non-interactive
uv build --sdist
uv publish

0 comments on commit c5c81da

Please sign in to comment.