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 247bc72 commit 3224f0eCopy full SHA for 3224f0e
.github/workflows/publish-to-pypi.yml
@@ -0,0 +1,26 @@
1
+name: Publish distributions to PyPI and TestPyPI
2
+on:
3
+ push:
4
+ tags:
5
+ - "*"
6
+
7
+jobs:
8
+ build-and-publish:
9
+ name: Build and publish distributions to PyPI and TestPyPI
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@master
13
+ - name: Set up Python 3.7
14
+ uses: actions/setup-python@v1
15
+ with:
16
+ version: 3.7
17
+ - name: Install wheel
18
+ run: >-
19
+ pip install wheel
20
+ - name: Build
21
22
+ python3 setup.py sdist bdist_wheel
23
+ - name: Publish distribution to PyPI
24
+ uses: pypa/gh-action-pypi-publish@master
25
26
+ password: ${{ secrets.PYPI_TOKEN }}
0 commit comments