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