File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -58,12 +58,12 @@ jobs:
5858 name : wheels-artifact
5959
6060 - name : Build Source Distribution
61- run : python setup.py sdist
61+ # Updated to ensure the source distribution is created with the .tar.gz extension
62+ run : python setup.py sdist --formats=gztar
6263
6364 - name : Upload Source Distribution
6465 uses : actions/upload-artifact@v4
6566 with :
66- path : ./dist/*.zip
67+ # Updated the path to match the new .tar.gz file extension
68+ path : ./dist/*.tar.gz
6769 name : source-dist-artifact
68-
69-
Original file line number Diff line number Diff line change @@ -53,12 +53,14 @@ jobs:
5353 name : wheels-artifact
5454
5555 - name : Build Source Distribution
56- run : python setup.py sdist
56+ # Updated to ensure the source distribution is created with the .tar.gz extension
57+ run : python setup.py sdist --formats=gztar
5758
5859 - name : Upload Source Distribution
5960 uses : actions/upload-artifact@v4
6061 with :
61- path : ./dist/*.zip
62+ # Updated the path to match the new .tar.gz file extension
63+ path : ./dist/*.tar.gz
6264 name : source-dist-artifact
6365
6466 upload_pypi :
8385
8486 - name : Publish distribution 📦 to PyPI
8587 uses : pypa/gh-action-pypi-publish@release/v1
86-
You can’t perform that action at this time.
0 commit comments