File tree Expand file tree Collapse file tree 2 files changed +28
-1
lines changed
Expand file tree Collapse file tree 2 files changed +28
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Publish Python Package
2+ on :
3+ push :
4+ # Sequence of patterns matched against refs/tags
5+ tags :
6+ - ' *'
7+
8+ jobs :
9+ deploy :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v1
13+ - name : Set up Python
14+ uses : actions/setup-python@v1
15+ with :
16+ python-version : ' 3.x'
17+ - name : Install dependencies
18+ run : |
19+ python -m pip install --upgrade pip
20+ pip install setuptools wheel twine
21+ - name : Build and publish
22+ env :
23+ TWINE_USERNAME : ${{ secrets.PYPI_USERNAME }}
24+ TWINE_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
25+ run : |
26+ python setup.py sdist bdist_wheel
27+ twine upload dist/*
Original file line number Diff line number Diff line change @@ -8,5 +8,5 @@ pytest-json==0.4.0
88pytest-pythonpath == 0.7.3
99pylama == 7.7.1
1010mock == 4.0.3
11- tox == 3.23.0
11+ tox == 3.23.1
1212mypy == 0.812
You can’t perform that action at this time.
0 commit comments