File tree Expand file tree Collapse file tree 3 files changed +19
-18
lines changed Expand file tree Collapse file tree 3 files changed +19
-18
lines changed Original file line number Diff line number Diff line change 1+ name : Publication
2+ on :
3+ release :
4+ types : [created]
5+ jobs :
6+ deploy :
7+ runs-on : ubuntu-latest
8+ steps :
9+ - uses : actions/checkout@v3
10+ - uses : actions/setup-python@v4
11+ with :
12+ python-version : ' 3.8'
13+ - run : python -m pip install --upgrade tox-gh-actions
14+ - env :
15+ TWINE_USERNAME : ${{ secrets.PYPI_USERNAME }}
16+ TWINE_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
17+ run : tox -e publish -- upload
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -87,8 +87,8 @@ testpaths = tests
8787[testenv:publish]
8888passenv = TWINE_*
8989deps =
90- build ~= 0.4 .0
91- twine ~= 3.4 .0
90+ build ~= 0.8 .0
91+ twine ~= 4.0 .0
9292commands =
9393 {envpython} -m build --outdir {distdir} .
9494 twine {posargs:check} {distdir}/*
You can’t perform that action at this time.
0 commit comments