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 03c8222 commit 022cbe1Copy full SHA for 022cbe1
.github/workflows/publish.yml
@@ -0,0 +1,30 @@
1
+# publish.yml
2
+
3
+name: "Publish"
4
5
+on:
6
+ release:
7
+ types: ["published"]
8
9
+jobs:
10
+ run:
11
+ name: "Build and publish release"
12
+ runs-on: ubuntu-latest
13
14
+ steps:
15
+ - uses: actions/checkout@v5
16
17
+ - name: Install uv
18
+ uses: astral-sh/setup-uv@v3
19
+ with:
20
+ enable-cache: true
21
+ cache-dependency-glob: uv.lock
22
23
+ - name: Set up Python
24
+ run: uv python install 3.10 # set python version
25
26
+ - name: Build
27
+ run: uv build
28
29
+ - name: Publish
30
+ run: uv publish -t ${{ secrets.PYPI_TOKEN }}
0 commit comments