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 f1f6793 commit 93c8010Copy full SHA for 93c8010
.github/workflows/ci.yml
@@ -44,3 +44,25 @@ jobs:
44
flags: pytests
45
file: ./coverage.xml
46
fail_ci_if_error: true
47
+
48
+ publish:
49
+ name: Publish to PyPi
50
+ needs: [pre-commit, tests]
51
+ if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
52
+ runs-on: ubuntu-latest
53
+ steps:
54
+ - name: Checkout source
55
+ uses: actions/checkout@v2
56
+ - name: Set up Python 3.7
57
+ uses: actions/setup-python@v1
58
+ with:
59
+ python-version: 3.7
60
+ - name: Build package
61
+ run: |
62
+ pip install wheel
63
+ python setup.py sdist bdist_wheel
64
+ - name: Publish
65
+ uses: pypa/[email protected]
66
67
+ user: __token__
68
+ password: ${{ secrets.PYPI_KEY }}
0 commit comments