We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c1baec commit 89e90aeCopy full SHA for 89e90ae
.github/workflows/python.yml
@@ -34,3 +34,20 @@ jobs:
34
# - run: LOGGING_LEVEL=critical python -m coverage run --append --branch --source . -m unittest -v test.test_version
35
- run: python -m coverage report --show-missing
36
- run: codecov
37
+ publish:
38
+ if: startsWith(github.ref, 'refs/tags/v')
39
+ needs: build
40
+ runs-on: ubuntu-latest
41
+ steps:
42
+ - uses: actions/checkout@v2
43
+ with:
44
+ fetch-depth: 0
45
+ - uses: actions/setup-python@v2
46
47
+ python-version: '3.10'
48
+ architecture: x64
49
+ - run: pip install -r requirements_test.txt
50
+ - run: python setup.py bdist_wheel sdist
51
+ - uses: pypa/gh-action-pypi-publish@release/v1
52
53
+ password: ${{ secrets.PYPI_API_TOKEN }}
0 commit comments