We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e04614 commit 5a585f4Copy full SHA for 5a585f4
.github/workflows/pypi.yml
@@ -0,0 +1,25 @@
1
+name: Release to PyPI
2
+
3
+on:
4
+ push:
5
+ tags:
6
+ - "v*"
7
8
+jobs:
9
+ pypi-publish:
10
+ name: Upload to PyPI
11
+ runs-on: ubuntu-latest
12
+ environment:
13
+ name: release
14
+ permissions:
15
+ contents: write
16
+ # For PyPI's trusted publishing.
17
+ id-token: write
18
+ steps:
19
+ - name: "Install uv"
20
+ uses: astral-sh/setup-uv@v5
21
+ - name: Build
22
+ run: uv build
23
+ - name: Publish to PyPi
24
+ run: uv publish --token ${{ secrets.UV_PUBLISH_TOKEN }}
25
0 commit comments