File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed
Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Publish readit to PyPI
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ tags :
8+ - ' *'
9+
10+ jobs :
11+ build-and-publish :
12+ name : Build and publish readit distributions to PyPI
13+ runs-on : ubuntu-latest
14+ steps :
15+ - name : Checkout to master
16+ uses : actions/checkout@master
17+
18+ - name : Setup python
19+ uses : actions/setup-python@v1
20+ with :
21+ python-version : ' 3.7'
22+ architecture : ' x64'
23+
24+ - name : Build Package
25+ run : |
26+ python -m pip install --upgrade setuptools wheel
27+ python setup.py sdist bdist_wheel
28+
29+ - name : Deploy to PyPi readit
30+ if : startsWith(github.event.ref, 'refs/tags')
31+ uses : pypa/gh-action-pypi-publish@master
32+ with :
33+ user : __token__
34+ password : ${{ secrets.pypi_readit }}
You can’t perform that action at this time.
0 commit comments