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 069ddd9 commit a930ec9Copy full SHA for a930ec9
.github/workflows/tests.yml
@@ -35,8 +35,24 @@ jobs:
35
if: "success() && startsWith(github.ref, 'refs/tags/')"
36
runs-on: ubuntu-latest
37
steps:
38
- - name: Publish package to PyPI
39
- uses: pypa/gh-action-pypi-publish@master
+ - uses: actions/checkout@v2
+
40
+ - name: set up python
41
+ uses: actions/setup-python@v1
42
with:
- user: __token__
- password: ${{ secrets.pypi_password }}
43
+ python-version: '3.8'
44
45
+ - name: install
46
+ run: |
47
+ make install
48
+ pip install -U wheel twine
49
+ - name: build
50
+ run: python setup.py sdist bdist_wheel
51
52
+ - run: twine check dist/*
53
54
+ - name: upload to pypi
55
+ run: twine upload dist/*
56
+ env:
57
+ TWINE_USERNAME: __token__
58
+ TWINE_PASSWORD: ${{ secrets.pypi_token }}
0 commit comments