We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a959a5 commit 8757e72Copy full SHA for 8757e72
.github/workflows/unit-test.yaml .github/workflows/ci.yaml.github/workflows/unit-test.yaml renamed to .github/workflows/ci.yaml
@@ -42,4 +42,23 @@ jobs:
42
uses: actions/upload-artifact@v4
43
with:
44
name: coverage-report
45
- path: .coverage
+ path: .coverage
46
+
47
+ deploy:
48
+ runs-on: ubuntu-18.04
49
+ needs: test
50
+ if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') && matrix.python-version == '3.8'
51
52
+ steps:
53
+ - name: Install dependencies
54
+ run: pip install twine wheel
55
56
+ - name: Setup deployment
57
+ run: python setup.py sdist bdist_wheel
58
59
+ - name: Validate deployment
60
+ run: twine check dist/*
61
62
+ - name: Run deployment
63
+ run:
64
+ twine upload dist/* -r pypi -u __token__ -p ${{ secrets.PYPI_PASSWORD }}
0 commit comments