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 8d5a196 commit d7536efCopy full SHA for d7536ef
.github/workflows/deploy_pypi.yml
@@ -35,13 +35,21 @@ jobs:
35
echo ${{ env.CURRENT }}
36
echo ${{ env.EQUAL }}
37
38
- - name: Build and publish
+ - name: Install pypa/build
39
+ run: >-
40
+ python -m
41
+ pip install
42
+ build
43
+
44
+ - name: Build a source tarball
45
46
47
48
+ --sdist
49
+ --outdir dist/
50
51
+ - name: Publish
52
if: ${{ env.EQUAL == 0 }}
- env:
- TWINE_USERNAME: __token__
- TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
- run: |
- python -m pip install --upgrade pip
- python -m pip install setuptools wheel twine
- python setup.py sdist bdist_wheel
- python -m twine upload dist/*
53
+ uses: pypa/gh-action-pypi-publish@release/v1
54
+ with:
55
+ password: ${{ secrets.PYPI_PASSWORD }}
0 commit comments