Skip to content

Commit f6c21c7

Browse files
authored
fix artifact naming in release (#114)
1 parent b7591f0 commit f6c21c7

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/release.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ jobs:
125125
os: "windows-latest",
126126
arch: "amd64",
127127
maturin_target: "x64",
128-
wasiSDK: "",
128+
wasiSDK: "mingw",
129129
extension: ".exe",
130130
buildArgs: "",
131131
target: "",
@@ -240,13 +240,13 @@ jobs:
240240
- name: Upload wheels
241241
uses: actions/upload-artifact@v4
242242
with:
243-
name: componentize-py
243+
name: componentize-py-${{ matrix.config.wasiSDK }}-${{ matrix.config.arch }}
244244
path: dist
245245

246246
- name: Upload build artifact
247247
uses: actions/upload-artifact@v4
248248
with:
249-
name: componentize-py
249+
name: componentize-py-${{ matrix.config.wasiSDK }}-${{ matrix.config.arch }}-tar
250250
path: _dist/componentize-py-${{ env.RELEASE_VERSION }}-${{ env.RUNNER_OS }}-${{ matrix.config.arch }}.tar.gz
251251

252252
- name: Upload binary to Github release (tag)
@@ -283,7 +283,7 @@ jobs:
283283
284284
- uses: actions/upload-artifact@v4
285285
with:
286-
name: componentize-py
286+
name: componentize-py-checksums
287287
path: checksums-${{ env.RELEASE_VERSION }}.txt
288288

289289
- name: Upload checksums to Github release (tag)
@@ -311,7 +311,7 @@ jobs:
311311
- name: Upload sdist
312312
uses: actions/upload-artifact@v4
313313
with:
314-
name: componentize-py
314+
name: componentize-py-sdist
315315
path: dist
316316

317317
update_canary_release:
@@ -323,7 +323,8 @@ jobs:
323323
- name: Download release assets
324324
uses: actions/download-artifact@v4
325325
with:
326-
name: componentize-py
326+
pattern: componentize-py-*
327+
merge-multiple: true
327328

328329
- name: Delete canary tag
329330
run: gh release delete --cleanup-tag -y

0 commit comments

Comments
 (0)