We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9526433 commit 94b96afCopy full SHA for 94b96af
.github/workflows/publish.yml
@@ -0,0 +1,31 @@
1
+name: Publish to PyPI
2
+
3
+on:
4
+ push:
5
+ tags:
6
+ - 'v*.*.*'
7
+ workflow_dispatch:
8
9
+jobs:
10
+ publish:
11
+ name: Publish to PyPI
12
+ runs-on: ubuntu-latest
13
+ environment: release
14
+ permissions:
15
+ id-token: write
16
+ contents: read
17
18
+ steps:
19
+ - uses: actions/checkout@v4
20
21
+ - name: Install uv
22
+ uses: astral-sh/setup-uv@v2
23
24
+ - name: Set up Python
25
+ run: uv python install 3.10
26
27
+ - name: Build package
28
+ run: uv build
29
30
+ - name: Publish to PyPI
31
+ uses: pypa/gh-action-pypi-publish@release/v1
0 commit comments