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 a5ca09e commit d2368a8Copy full SHA for d2368a8
1 file changed
.github/workflows/pythonpublish.yml
@@ -0,0 +1,27 @@
1
+name: Upload Python Package
2
+
3
+on:
4
+ release:
5
+ types: [created]
6
7
+jobs:
8
+ deploy:
9
10
+ runs-on: ubuntu-latest
11
12
+ steps:
13
+ - uses: actions/checkout@v2
14
+ - name: Set up Python
15
+ uses: actions/setup-python@v1
16
+ with:
17
+ python-version: '3.x'
18
+ - name: Install dependencies
19
+ run: |
20
+ python -m pip install --upgrade pip
21
+ pip install setuptools wheel twine
22
+ python setup.py sdist bdist_wheel
23
+ - name: Publish a Python distribution to PyPI
24
+ uses: pypa/gh-action-pypi-publish@release/v1
25
26
+ user: __token__
27
+ password: ${{ secrets.PYPI_API_TOKEN }}
0 commit comments