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