File tree Expand file tree Collapse file tree 2 files changed +14
-4
lines changed
Expand file tree Collapse file tree 2 files changed +14
-4
lines changed Original file line number Diff line number Diff line change 2828 uses : actions/setup-python@v5
2929 with :
3030 python-version : ${{ env.DEFAULT_PYTHON }}
31- - name : Build a distribution
31+ - name : Install pypa/build
3232 run : >-
33- python setup.py sdist
33+ python3 -m
34+ pip install
35+ build
36+ --user
37+ - name : Build a binary wheel and a source tarball
38+ run : python3 -m build
3439 - name : Publish distribution 📦 to PyPI
3540 uses : pypa/gh-action-pypi-publish@release/v1
3641 with :
Original file line number Diff line number Diff line change @@ -360,9 +360,14 @@ jobs:
360360 run : |
361361 echo "Failed to restore Python virtual environment from cache"
362362 exit 1
363- - name : Build a distribution
363+ - name : Install pypa/build
364364 run : >-
365- python setup.py sdist
365+ python3 -m
366+ pip install
367+ build
368+ --user
369+ - name : Build a binary wheel and a source tarball
370+ run : python3 -m build
366371 - name : Publish distribution 📦 to Test PyPI
367372 uses : pypa/gh-action-pypi-publish@release/v1
368373 continue-on-error : true
You can’t perform that action at this time.
0 commit comments