From c5c81da43b402ae2b89f20a3edb3e84c1f33d5a5 Mon Sep 17 00:00:00 2001 From: Kiyoon Kim Date: Thu, 12 Dec 2024 15:50:14 +0900 Subject: [PATCH] ci: use uv to publish to pypi --- .github/workflows/deploy.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 482634b..177a3fd 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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