We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a98b0e1 commit d5e70edCopy full SHA for d5e70ed
.github/workflows/python-publish.yml
@@ -2,7 +2,7 @@ name: Publish Python package
2
3
on:
4
push:
5
- branches: [ master ]
+ branches: [master]
6
release:
7
types: [created]
8
@@ -14,12 +14,12 @@ jobs:
14
- name: Set up Python
15
uses: actions/setup-python@v2
16
with:
17
- python-version: '3.9'
18
- - name: Install Poetry
19
- run: pip install poetry
+ python-version: "3.9"
+ - name: Install uv
+ run: pip install uv
20
- name: Build and publish to PyPI
21
env:
22
PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
23
run: |
24
- poetry build
25
- poetry publish --username __token__ --password $PYPI_API_TOKEN
+ uv build --no-sources
+ uv publish --token $PYPI_API_TOKEN
0 commit comments