File tree Expand file tree Collapse file tree 2 files changed +30
-1
lines changed Expand file tree Collapse file tree 2 files changed +30
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Publish Python Package
2+
3+ on :
4+ push :
5+ tags :
6+ - ' *'
7+ branches :
8+ - ' *'
9+
10+ jobs :
11+ deploy :
12+ runs-on : ubuntu-latest
13+ steps :
14+ - uses : actions/checkout@v1
15+ - name : Set up Python
16+ uses : actions/setup-python@v1
17+ with :
18+ python-version : ' 3.x'
19+ - name : Install dependencies
20+ run : |
21+ python -m pip install --upgrade pip
22+ pip install setuptools wheel twine
23+ - name : Package and publish
24+ env :
25+ TWINE_USERNAME : __token__
26+ TWINE_PASSWORD : ${{ secrets.PYPI_TOKEN }}
27+ run : |
28+ python setup.py sdist bdist_wheel
29+ twine upload dist/*
Original file line number Diff line number Diff line change 4949
5050projectName = "sphinx.inheritance_diagram"
5151projectNameWithPrefix = "btd." + projectName
52- version = "2.3.1.dev1 "
52+ version = "2.3.1.post1 "
5353
5454github_url = "https://github.com/buildthedocs/" + projectName
5555rtd_url = "https://" + projectNameWithPrefix .replace ("." , "-" ) + ".readthedocs.io/en/latest/"
You can’t perform that action at this time.
0 commit comments