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 0d8eca2 commit 03af331Copy full SHA for 03af331
.github/workflows/pypiPublishProd.yml
@@ -0,0 +1,33 @@
1
+name: Release to PyPi
2
+
3
+on:
4
+ release:
5
+ types: [created]
6
7
+jobs:
8
+ deploy:
9
10
+ runs-on: ubuntu-latest
11
12
+ steps:
13
+ - name: Checkout Repository
14
+ uses: actions/checkout@v3
15
16
+ - name: Set up Python
17
+ uses: actions/setup-python@v4
18
+ with:
19
+ python-version: '3.9'
20
21
+ - name: Install dependencies
22
+ run: |
23
+ python -m pip install --upgrade pip
24
+ pip install setuptools wheel twine
25
26
+ - name: Build and publish
27
+ env:
28
+ TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
29
+ TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
30
31
32
+ python setup.py sdist bdist_wheel
33
+ twine upload dist/*
0 commit comments