Skip to content

Commit 4deccf6

Browse files
committed
Avoid duplicate sdist files so they can be merged without conflict
Signed-off-by: Sahas Subramanian <[email protected]>
1 parent 61550ea commit 4deccf6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ jobs:
109109
uses: actions/upload-artifact@v5
110110
with:
111111
name: dist-packages-${{ matrix.target }}-${{ matrix.python }}
112-
path: dist/
112+
path: dist/*.whl
113113
if-no-files-found: error
114114

115115
build-sdist:
@@ -126,7 +126,7 @@ jobs:
126126
uses: actions/upload-artifact@v4
127127
with:
128128
name: dist-packages-sdist
129-
path: dist
129+
path: dist/*.tar.gz
130130

131131
test-installation:
132132
name: Test package installation
@@ -360,6 +360,7 @@ jobs:
360360
uses: actions/download-artifact@v6
361361
with:
362362
path: dist
363+
merge-multiple: true
363364

364365
- name: Publish the Python distribution to PyPI
365366
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)