We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7575b64 + c54d7b7 commit 5cc71fdCopy full SHA for 5cc71fd
3 files changed
.github/workflows/publication.yml
@@ -0,0 +1,17 @@
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
.travis.yml
tox.ini
@@ -87,8 +87,8 @@ testpaths = tests
87
[testenv:publish]
88
passenv = TWINE_*
89
deps =
90
- build ~= 0.4.0
91
- twine ~= 3.4.0
+ build ~= 0.8.0
+ twine ~= 4.0.0
92
commands =
93
{envpython} -m build --outdir {distdir} .
94
twine {posargs:check} {distdir}/*
0 commit comments