Skip to content

Commit d5e70ed

Browse files
committed
Update Python publishing workflow
1 parent a98b0e1 commit d5e70ed

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/python-publish.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Publish Python package
22

33
on:
44
push:
5-
branches: [ master ]
5+
branches: [master]
66
release:
77
types: [created]
88

@@ -14,12 +14,12 @@ jobs:
1414
- name: Set up Python
1515
uses: actions/setup-python@v2
1616
with:
17-
python-version: '3.9'
18-
- name: Install Poetry
19-
run: pip install poetry
17+
python-version: "3.9"
18+
- name: Install uv
19+
run: pip install uv
2020
- name: Build and publish to PyPI
2121
env:
2222
PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
2323
run: |
24-
poetry build
25-
poetry publish --username __token__ --password $PYPI_API_TOKEN
24+
uv build --no-sources
25+
uv publish --token $PYPI_API_TOKEN

0 commit comments

Comments
 (0)