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 4e6eff6 commit a1e1943Copy full SHA for a1e1943
.github/workflows/deploy.yml
@@ -0,0 +1,26 @@
1
+name: deploy-to-pypi
2
+
3
+on:
4
+ push:
5
+ branches: [release]
6
7
+jobs:
8
+ build:
9
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: checkout
13
+ uses: actions/checkout@master
14
+ - uses: actions/setup-python@v2
15
+ with:
16
+ python-version: '3.7.x' # Version range or exact version of a Python version to use, using SemVer's version range syntax
17
+ architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified
18
+ - name: compile
19
+ run: |
20
+ python3 setup.py bdist_wheel --universal
21
+ - name: Publish a Python distribution to PyPI
22
+ uses: pypa/gh-action-pypi-publish@release/v1
23
24
+ user: ${{secrets.PYPI_API_USERNAME}}
25
+ password: ${{ secrets.PYPI_API_PASSWORD }}
26
+ verbose: true
0 commit comments