Skip to content

Commit 4528a23

Browse files
committed
build(python): Fix upload-artifact@v4 steps
1 parent 024c31c commit 4528a23

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

.github/workflows/python-release.yml

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- name: Upload sdist
3939
uses: actions/upload-artifact@v4
4040
with:
41-
name: dist
41+
name: sdist
4242
path: dist
4343

4444
macos-x86_64:
@@ -61,7 +61,7 @@ jobs:
6161
- name: Upload wheels
6262
uses: actions/upload-artifact@v4
6363
with:
64-
name: dist
64+
name: wheel-macos-x86_64
6565
path: dist
6666

6767
macos-universal:
@@ -83,7 +83,7 @@ jobs:
8383
- name: Upload wheels
8484
uses: actions/upload-artifact@v4
8585
with:
86-
name: dist
86+
name: wheel-macos-universal
8787
path: dist
8888

8989
windows:
@@ -110,7 +110,7 @@ jobs:
110110
- name: Upload wheels
111111
uses: actions/upload-artifact@v4
112112
with:
113-
name: dist
113+
name: wheel-windows-${{ matrix.target }}
114114
path: dist
115115

116116
linux:
@@ -137,7 +137,7 @@ jobs:
137137
- name: Upload wheels
138138
uses: actions/upload-artifact@v4
139139
with:
140-
name: dist
140+
name: wheel-linux-${{ matrix.target }}
141141
path: dist
142142

143143
linux-cross:
@@ -171,7 +171,7 @@ jobs:
171171
- name: Upload wheels
172172
uses: actions/upload-artifact@v4
173173
with:
174-
name: dist
174+
name: wheel-linux-cross-${{ matrix.target }}
175175
path: dist
176176

177177
musllinux:
@@ -203,7 +203,7 @@ jobs:
203203
- name: Upload wheels
204204
uses: actions/upload-artifact@v4
205205
with:
206-
name: dist
206+
name: wheel-musllinux-${{ matrix.target }}
207207
path: dist
208208

209209
musllinux-cross:
@@ -239,7 +239,7 @@ jobs:
239239
- name: Upload wheels
240240
uses: actions/upload-artifact@v4
241241
with:
242-
name: dist
242+
name: wheel-musllinux-cross-${{ matrix.platform.target }}-${{ matrix.platform.arch }}
243243
path: dist
244244

245245
pypy:
@@ -274,7 +274,7 @@ jobs:
274274
- name: Upload wheels
275275
uses: actions/upload-artifact@v4
276276
with:
277-
name: dist
277+
name: wheel-pypy-${{ matrix.os }}-${{ matrix.target }}-${{ matrix.python-version }}
278278
path: dist
279279

280280
release:
@@ -294,7 +294,11 @@ jobs:
294294
steps:
295295
- uses: actions/download-artifact@v4
296296
with:
297-
name: dist
297+
path: all
298+
- name: Merge files
299+
run: |
300+
mkdir dist
301+
mv all/*/* dist
298302
- uses: actions/setup-python@v5
299303
- name: Publish to PyPi
300304
env:

0 commit comments

Comments
 (0)