We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e238bc6 + 40f6da2 commit 84471f9Copy full SHA for 84471f9
1 file changed
.github/workflows/pypi_publish.yml
@@ -0,0 +1,32 @@
1
+name: Publish PyPi Package
2
+
3
+on:
4
+ release:
5
+ types: [created]
6
7
+jobs:
8
+ publish:
9
+ runs-on: ubuntu-latest
10
11
+ steps:
12
+ - id: checkout
13
+ uses: actions/checkout@v3
14
15
+ - id: python-setup
16
+ name: Set up Python
17
+ uses: actions/setup-python@v2
18
+ with:
19
+ python-version: '3.11'
20
21
+ - id: python-dependencies
22
+ name: Install dependencies
23
+ run: |
24
+ python -m pip install --upgrade pip
25
+ pip install setuptools wheel twine
26
27
+ - id: publish-pypi
28
+ env:
29
+ TWINE_USERNAME: __token__
30
+ TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
31
32
+ make pypi
0 commit comments