We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4eb4456 commit 19cc281Copy full SHA for 19cc281
1 file changed
.github/workflows/publish.yml
@@ -0,0 +1,29 @@
1
+name: Publish to PyPI
2
+
3
+on:
4
+ release:
5
+ types: [published]
6
7
+jobs:
8
+ publish:
9
+ runs-on: ubuntu-latest
10
+ environment: pypi
11
+ permissions:
12
+ id-token: write
13
14
+ steps:
15
+ - uses: actions/checkout@v4
16
17
+ - name: Set up Python
18
+ uses: actions/setup-python@v5
19
+ with:
20
+ python-version: "3.12"
21
22
+ - name: Install build
23
+ run: pip install build
24
25
+ - name: Build distributions
26
+ run: python -m build
27
28
+ - name: Publish to PyPI
29
+ uses: pypa/gh-action-pypi-publish@release/v1
0 commit comments