Skip to content

Commit ebee288

Browse files
authored
Merge pull request #8 from microsoft/work/paulli/pep625
Work/paulli/pep625
2 parents 4e646d8 + 44191c9 commit ebee288

2 files changed

Lines changed: 8 additions & 7 deletions

File tree

.github/workflows/CI.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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-

.github/workflows/pypi_publish.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff 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:
@@ -83,4 +85,3 @@ jobs:
8385

8486
- name: Publish distribution 📦 to PyPI
8587
uses: pypa/gh-action-pypi-publish@release/v1
86-

0 commit comments

Comments
 (0)