We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2b6900 commit b08587fCopy full SHA for b08587f
1 file changed
.github/workflows/deploy.yml
@@ -0,0 +1,28 @@
1
+name: Deploy
2
+on:
3
+ push:
4
+ tags:
5
+ - '*'
6
+
7
+jobs:
8
+ deploy:
9
+ name: Deploy to PyPI
10
+ if: startsWith(github.ref, 'refs/tags')
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - name: Setup python
14
+ uses: actions/setup-python@v4
15
+ with:
16
+ python-version: '3.8'
17
18
+ - name: Check out code
19
+ uses: actions/checkout@v3
20
21
+ - name: Build the library
22
+ env:
23
+ PYVER: ${{ matrix.version }}
24
+ run: python3 setup.py sdist
25
26
+ - uses: pypa/gh-action-pypi-publish@release/v1
27
28
+ password: ${{ secrets.PYPI_API_TOKEN }}
0 commit comments