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 356830e commit f7a612dCopy full SHA for f7a612d
.github/workflows/release.yaml
@@ -0,0 +1,29 @@
1
+name: PyPI Release
2
+
3
+on:
4
+ push:
5
+ tags:
6
+ - "*"
7
8
+jobs:
9
+ release:
10
+ runs-on: ubuntu-latest
11
12
+ steps:
13
+ - name: Checkout Repo
14
+ uses: actions/checkout@v2
15
+ - name: Setup Python
16
+ uses: actions/setup-python@v2
17
+ with:
18
+ python-version: "3.6"
19
+ - name: Install dependencies
20
+ run: |
21
+ python -m pip install --upgrade pip
22
+ pip install setuptools wheel twine
23
+ - name: Build the dist files
24
+ run: python setup.py sdist bdist_wheel
25
+ - name: Publish
26
+ env:
27
+ TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
28
+ TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
29
+ run: twine upload dist/*
0 commit comments