Skip to content

Commit 980ffac

Browse files
committed
ci: update GitHub Actions workflow to use uv for package publishing
1 parent 88d81c7 commit 980ffac

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/publish-package.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ jobs:
1717
with:
1818
submodules: recursive
1919
token: ${{ secrets.GITHUB_TOKEN }}
20+
- name: Install uv
21+
uses: astral-sh/setup-uv@v5
2022
- name: "build"
2123
env:
22-
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_API_TOKEN }}
24+
UV_PUBLISH_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
2325
id: build
2426
run: |
25-
curl -sSL https://install.python-poetry.org | python3 -
26-
poetry build
27-
poetry config pypi-token.pypi "$POETRY_PYPI_TOKEN_PYPI"
28-
poetry publish
27+
uv build
28+
uv publish

0 commit comments

Comments
 (0)