Skip to content

Commit 22807e4

Browse files
authored
update workflow: use download-artifact@v4 (#66)
1 parent c07e657 commit 22807e4

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

.github/workflows/release_packages.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ jobs:
8888
- name: Upload tgz package
8989
uses: actions/upload-artifact@v4
9090
with:
91-
name: dashinfer-tgz-${{ matrix.arch }}
91+
name: dashinfer-tgz-${{ matrix.arch }}-${{ matrix.enable_cuda }}
9292
path: build/*.tar.gz
9393

9494

@@ -161,7 +161,7 @@ jobs:
161161
- name: Upload wheels
162162
uses: actions/upload-artifact@v4
163163
with:
164-
name: python-manylinux-wheels-${{ matrix.arch }}
164+
name: python-manylinux-wheels-${{ matrix.arch }}-${{ matrix.enable_cuda }}
165165
path: python/wheelhouse/*-manylinux*.whl
166166

167167
publish:
@@ -170,17 +170,21 @@ jobs:
170170
strategy:
171171
matrix:
172172
arch: [X64, ARM64]
173+
enable_cuda: [0, 1]
174+
exclude:
175+
- arch: ARM64
176+
enable_cuda: 1
173177
steps:
174178
- name: Download tgz packages
175-
uses: actions/download-artifact@v3
179+
uses: actions/download-artifact@v4
176180
with:
177-
name: dashinfer-tgz-${{ matrix.arch }}
181+
name: dashinfer-tgz-${{ matrix.arch }}-${{ matrix.enable_cuda }}
178182
path: release/
179183

180184
- name: Download python wheels
181-
uses: actions/download-artifact@v3
185+
uses: actions/download-artifact@v4
182186
with:
183-
name: python-manylinux-wheels-${{ matrix.arch }}
187+
name: python-manylinux-wheels-${{ matrix.arch }}-${{ matrix.enable_cuda }}
184188
path: release/
185189

186190
- name: Release all packages

0 commit comments

Comments
 (0)