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