We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 098ff1e + 94ec412 commit 692db21Copy full SHA for 692db21
1 file changed
.github/workflows/prerelease-deploy.yml
@@ -27,7 +27,7 @@ jobs:
27
- name: Install dependencies
28
run: |
29
python -m pip install --upgrade pip
30
- pip install flake8 pytest setuptools wheel twine
+ pip install flake8 pytest setuptools wheel twine build
31
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
32
- name: Lint with flake8
33
@@ -42,7 +42,7 @@ jobs:
42
43
echo "Python package version: ${{ steps.get_version.outputs.VERSION }}"
44
sed -i -E -r "s/version = \"(.*)\"/version = \"${{ steps.get_version.outputs.VERSION }}\"/g" setup.py
45
- python setup.py sdist bdist_wheel
+ python -m build
46
- name: Deploy Distribution to Test PyPI
47
if: github.event.release.prerelease
48
uses: pypa/gh-action-pypi-publish@master
0 commit comments