We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 97e3283 + e2cd43a commit ee84f42Copy full SHA for ee84f42
.github/workflows/test.yml
@@ -49,5 +49,20 @@ jobs:
49
runs-on: ubuntu-latest
50
needs: [test]
51
steps:
52
+ - uses: actions/checkout@v2
53
+ - name: Set up Python
54
+ uses: actions/setup-python@v2
55
+ with:
56
+ python-version: "3.10"
57
+ - name: build package
58
+ run: |
59
+ python -m pip install -U build
60
+ python -m build
61
+ - name: Publish package
62
+ if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
63
+ uses: pypa/gh-action-pypi-publish@release/v1
64
65
+ user: __token__
66
+ password: ${{ secrets.PYPI_API_TOKEN }}
67
- name: note that all tests succeeded
68
run: echo "🎉"
0 commit comments