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 effb47c commit 848afd1Copy full SHA for 848afd1
.github/workflows/publish.yml
@@ -0,0 +1,30 @@
1
+name: Publish to PyPI
2
+
3
+on:
4
+ release:
5
+ types: [published]
6
7
+jobs:
8
+ publish:
9
+ runs-on: ubuntu-latest
10
11
+ environment: release
12
+ permissions:
13
+ id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
14
+ contents: read
15
+ steps:
16
+ - uses: actions/checkout@v4
17
18
+ - name: Install uv
19
+ uses: astral-sh/setup-uv@v6
20
+ with:
21
+ enable-cache: true
22
23
+ - name: Set version
24
+ run: uv version ${{ github.ref_name }}
25
26
+ - name: Build package
27
+ run: uv build
28
29
+ - name: Publish package
30
+ run: uv publish
0 commit comments