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