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 a002371 commit 72c0b7bCopy full SHA for 72c0b7b
.github/workflows/python-publish.yml
@@ -1,4 +1,4 @@
1
-name: Upload Python Package
+name: Publish Python Package
2
3
on:
4
release:
@@ -24,3 +24,32 @@ jobs:
24
25
- name: Build
26
run: uv build
27
+
28
+ - name: Upload distributions
29
+ uses: actions/upload-artifact@v4
30
+ with:
31
+ name: release-dists
32
+ path: dist/
33
34
+ pypi-publish:
35
+ runs-on: ubuntu-latest
36
+ needs:
37
+ - release-build
38
+ permissions:
39
+ id-token: write
40
41
+ steps:
42
+ - name: Retrieve release distributions
43
+ uses: actions/download-artifact@v4
44
45
46
47
48
+ - name: Install uv
49
+ uses: astral-sh/setup-uv@v5
50
51
+ - name: Publish release distributions to PyPI
52
+ run: uv publish
53
54
55
0 commit comments