File tree Expand file tree Collapse file tree 1 file changed +1
-32
lines changed
Expand file tree Collapse file tree 1 file changed +1
-32
lines changed Original file line number Diff line number Diff line change @@ -126,35 +126,4 @@ jobs:
126126 cd docs
127127 sphinx-build -W -b html -d _build/doctrees . _build/html
128128 sphinx-build -W -b spelling -d _build/doctrees . _build/spelling
129- deploy :
130- needs : [ build, docs ]
131- runs-on : ubuntu-latest
132- env :
133- python-version : 3.7
134- steps :
135- - uses : actions/checkout@v2
136- - name : Set up Python ${{ env.python-version }}
137- uses : actions/setup-python@v2
138- with :
139- python-version : ${{ env.python-version }}
140- - name : Install pypa/build
141- run : |
142- python -m pip install build --user
143- - name : Build a binary wheel and a source tarball
144- run : |
145- python -m build --sdist --wheel --outdir dist/ .
146- - name : Publish Python 🐍 distributions 📦 to Test PyPI
147- # Upload only on tagged commits.
148- if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
149- uses : pypa/gh-action-pypi-publish@release/v1
150- with :
151- user : __token__
152- repository_url : https://test.pypi.org/legacy/
153- password : ${{ secrets.TEST_PYPI_API_TOKEN }}
154- - name : Publish Python 🐍 distributions 📦 to PyPI
155- # Upload only on tagged commits.
156- if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
157- uses : pypa/gh-action-pypi-publish@release/v1
158- with :
159- user : __token__
160- password : ${{ secrets.PYPI_API_TOKEN }}
129+
You can’t perform that action at this time.
0 commit comments