File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1414 - name : Install dependencies
1515 run : |
1616 python -m pip install --upgrade pip
17- pip install -U setuptools setuptools_scm wheel twine
17+ python -m pip install -U setuptools setuptools_scm wheel twine
1818 - name : Build and check
1919 run : |
2020 python setup.py sdist bdist_wheel
Original file line number Diff line number Diff line change @@ -19,13 +19,13 @@ jobs:
1919 - name : Install dependencies
2020 run : |
2121 python -m pip install --upgrade pip
22- python -m pip install build --user
23- python -m pip install twine
22+ python -m pip install -U setuptools setuptools_scm wheel twine
2423 - name : Build and check source tarball
25- run : |
26- python -m build --sdist --outdir dist/ .
24+ run : python setup.py sdist bdist_wheel
25+ - name : Twine check
26+ run : twine check dist/*
2727 - name : Publish distribution to PyPI
2828 if : startsWith(github.ref, 'refs/tags')
29- uses : pypa/gh-action-pypi-publish@master
29+ uses : pypa/gh-action-pypi-publish@release/v1
3030 with :
3131 password : ${{ secrets.PYPI_API_TOKEN }}
You can’t perform that action at this time.
0 commit comments