We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89e5b30 commit 27c369cCopy full SHA for 27c369c
.github/workflows/python-publish.yml
@@ -0,0 +1,29 @@
1
+name: publish to PyPI
2
+
3
+on:
4
+ release:
5
+ types: [published]
6
7
+permissions:
8
+ contents: read
9
+ id-token: write
10
11
+jobs:
12
+ deploy:
13
14
+ runs-on: ubuntu-latest
15
16
+ steps:
17
+ - uses: actions/checkout@v4
18
+ - name: Set up Python
19
+ uses: actions/setup-python@v3
20
+ with:
21
+ python-version: '3.x'
22
+ - name: Install dependencies
23
+ run: |
24
+ python -m pip install --upgrade pip
25
+ pip install build
26
+ - name: Build package
27
+ run: python -m build
28
+ - name: Publish package
29
+ uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
0 commit comments