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 32877c6 commit 6573eb5Copy full SHA for 6573eb5
.github/workflows/python-release.yml
@@ -0,0 +1,24 @@
1
+name: Release to PyPi
2
+
3
+on:
4
+ release:
5
+ types: [created]
6
7
+jobs:
8
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v2
12
+ - name: Set up Python 3.7
13
+ uses: actions/setup-python@v1
14
+ with:
15
+ python-version: 3.7
16
+ - name: Install build requirements
17
+ run: python -m pip install wheel
18
+ - name: Build package
19
+ run: python setup.py sdist bdist_wheel
20
+ - name: Publish package
21
+ uses: pypa/gh-action-pypi-publish@master
22
23
+ user: __token__
24
+ password: ${{ secrets.pypi_password }}
0 commit comments