Skip to content

Commit 61d795e

Browse files
authored
Update upload download artifact to v4 (#2023)
1 parent 0d03400 commit 61d795e

File tree

5 files changed

+17
-16
lines changed

5 files changed

+17
-16
lines changed

.github/workflows/buildRyzenWheels.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ jobs:
112112
mv "$WHL_FN" "`echo $WHL_FN | sed "s/cp310-cp310/py3-none/"`"
113113
114114
- name: Upload mlir_aie
115-
uses: actions/upload-artifact@v3
115+
uses: actions/upload-artifact@v4
116116
with:
117117
path: wheelhouse/repaired_wheel/mlir_aie*whl
118118
name: mlir_aie
@@ -154,7 +154,7 @@ jobs:
154154
fetch-depth: 2
155155
submodules: "true"
156156

157-
- uses: actions/download-artifact@v3
157+
- uses: actions/download-artifact@v4
158158
with:
159159
# unpacks default artifact into dist/
160160
# if `name: artifact` is omitted, the action will create extra parent dir
@@ -221,14 +221,14 @@ jobs:
221221
222222
auditwheel repair -w $WHEELHOUSE_DIR/repaired_wheel $WHEELHOUSE_DIR/aie_python_bindings*whl --plat manylinux_2_35_x86_64
223223
224-
- uses: geekyeggo/delete-artifact@v4
224+
- uses: geekyeggo/delete-artifact@v5
225225
if: github.event_name == 'pull_request'
226226
with:
227227
name: mlir_aie
228228

229229
- name: Upload wheels
230230
if: github.event_name == 'workflow_dispatch' || github.event_name == 'schedule'
231-
uses: actions/upload-artifact@v3
231+
uses: actions/upload-artifact@v4
232232
with:
233233
path: wheelhouse/repaired_wheel/aie_python_bindings*.whl
234234
name: ryzen_ai_wheel

.github/workflows/lintAndFormat.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ jobs:
9797
9898
- name: Upload clang-tidy fixes
9999
if: ${{ steps.clang-tidy-fixes.outputs.FIXES }}
100-
uses: actions/upload-artifact@v3
100+
uses: actions/upload-artifact@v4
101101
with:
102102
path: fixes.yml
103103
name: clang-tidy-fixes.yml
@@ -143,10 +143,10 @@ jobs:
143143
cat clang-format.diff
144144
145145
- name: Upload clang-format
146-
uses: actions/upload-artifact@v3
146+
uses: actions/upload-artifact@v4
147147
with:
148148
path: clang-format.diff
149-
name: format_diffs
149+
name: clang_format_diffs
150150

151151
- name: Check C/C++ format
152152
uses: reviewdog/action-suggester@v1
@@ -165,10 +165,10 @@ jobs:
165165
cat black-format.diff
166166
167167
- name: Upload black-format
168-
uses: actions/upload-artifact@v3
168+
uses: actions/upload-artifact@v4
169169
with:
170170
path: black-format.diff
171-
name: format_diffs
171+
name: black_format_diffs
172172

173173
- name: Check Python format
174174
if: success() || failure()

.github/workflows/mlirAIEDistro.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ jobs:
313313
ls wheelhouse/mlir_aie*whl | Rename-Item -NewName {$_ -replace 'cp310-cp310', 'py3-none' }
314314
315315
- name: Upload distro wheels
316-
uses: actions/upload-artifact@v3
316+
uses: actions/upload-artifact@v4
317317
with:
318318
path: ${{ steps.workspace_root.outputs.WORKSPACE_ROOT }}/wheelhouse/*.whl
319319
name: build_artifact_${{ matrix.OS }}_${{ matrix.ARCH }}_rtti_${{ matrix.ENABLE_RTTI }}
@@ -363,7 +363,7 @@ jobs:
363363
python/requirements.txt
364364
python/requirements_extras.txt
365365
366-
- uses: actions/download-artifact@v3
366+
- uses: actions/download-artifact@v4
367367
with:
368368
name: build_artifact_${{ matrix.OS }}_${{ matrix.ARCH }}_rtti_${{ matrix.ENABLE_RTTI }}
369369
path: dist
@@ -446,7 +446,7 @@ jobs:
446446
# ENABLE_RTTI: OFF
447447

448448
steps:
449-
- uses: actions/download-artifact@v3
449+
- uses: actions/download-artifact@v4
450450
with:
451451
# unpacks default artifact into dist/
452452
# if `name: artifact` is omitted, the action will create extra parent dir

.github/workflows/mlirDistro.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ jobs:
352352

353353
- name: Upload wheels
354354
if: github.event_name != 'schedule'
355-
uses: actions/upload-artifact@v3
355+
uses: actions/upload-artifact@v4
356356
with:
357357
path: ${{ steps.workspace_root.outputs.WORKSPACE_ROOT }}/wheelhouse/*.whl
358358
name: build_artifact_${{ matrix.OS }}_${{ matrix.ARCH }}_rtti_${{ matrix.ENABLE_RTTI }}
@@ -395,7 +395,7 @@ jobs:
395395
# ENABLE_RTTI: OFF
396396

397397
steps:
398-
- uses: actions/download-artifact@v3
398+
- uses: actions/download-artifact@v4
399399
with:
400400
name: build_artifact_${{ matrix.OS }}_${{ matrix.ARCH }}_rtti_${{ matrix.ENABLE_RTTI }}
401401
path: dist
@@ -471,7 +471,7 @@ jobs:
471471
contents: write
472472

473473
steps:
474-
- uses: actions/download-artifact@v3
474+
- uses: actions/download-artifact@v4
475475
with:
476476
# unpacks default artifact into dist/
477477
# if `name: artifact` is omitted, the action will create extra parent dir

utils/mlir_aie_wheels/requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ pip
77
pybind11[global]>=2.10.4
88
rich
99
setuptools>=42
10-
wheel
10+
wheel
11+
nanobind>=2.4

0 commit comments

Comments
 (0)