2121 backend : [mkl, dnnl]
2222
2323 steps :
24- - uses : actions/checkout@v3
24+ - uses : actions/checkout@v4
2525 with :
2626 submodules : recursive
2727
8282 backend : [openblas]
8383
8484 steps :
85- - uses : actions/checkout@v3
85+ - uses : actions/checkout@v4
8686 with :
8787 submodules : recursive
8888
@@ -137,11 +137,11 @@ jobs:
137137 include :
138138 - os : ubuntu-20.04
139139 arch : aarch64
140- - os : macos-12
140+ - os : macos-13
141141 arch : arm64
142142
143143 steps :
144- - uses : actions/checkout@v3
144+ - uses : actions/checkout@v4
145145 with :
146146 submodules : recursive
147147
@@ -150,7 +150,7 @@ jobs:
150150 name : Set up QEMU
151151
152152 - name : Build wheels
153- uses : pypa/cibuildwheel@v2.16.5
153+ uses : pypa/cibuildwheel@v2.21.3
154154 with :
155155 package-dir : python
156156 output-dir : python/wheelhouse
@@ -168,9 +168,9 @@ jobs:
168168 CIBW_SKIP : pp* *-musllinux_*
169169
170170 - name : Upload Python wheels
171- uses : actions/upload-artifact@v3
171+ uses : actions/upload-artifact@v4
172172 with :
173- name : python-wheels
173+ name : python-wheels-${{ runner.os }}-${{ matrix.arch }}
174174 path : python/wheelhouse
175175
176176
@@ -185,21 +185,23 @@ jobs:
185185
186186 steps :
187187 - name : Set up Python 3.8
188- uses : actions/setup-python@v4
188+ uses : actions/setup-python@v5
189189 with :
190190 python-version : 3.8
191191
192- - uses : actions/checkout@v3
192+ - uses : actions/checkout@v4
193193
194194 - name : Prepare test environment
195195 shell : bash
196196 run : |
197197 ./python/tools/prepare_test_environment.sh
198198
199199 - name : Download Python wheels
200- uses : actions/download-artifact@v3
200+ uses : actions/download-artifact@v4
201201 with :
202- name : python-wheels
202+ pattern : python-wheels-${{ runner.os }}-*
203+ merge-multiple : true
204+ path : .
203205
204206 - name : Install wheel
205207 if : startsWith(matrix.os, 'ubuntu')
@@ -222,10 +224,10 @@ jobs:
222224 runs-on : ubuntu-latest
223225
224226 steps :
225- - uses : actions/checkout@v3
227+ - uses : actions/checkout@v4
226228
227229 - name : Set up Python 3.8
228- uses : actions/setup-python@v4
230+ uses : actions/setup-python@v5
229231 with :
230232 python-version : 3.8
231233
@@ -257,9 +259,11 @@ jobs:
257259
258260 steps :
259261 - name : Download Python wheels
260- uses : actions/download-artifact@v3
262+ uses : actions/download-artifact@v4
261263 with :
262- name : python-wheels
264+ pattern : python-wheels-*
265+ merge-multiple : true
266+ path : .
263267
264268 - name : Publish Python wheels to PyPI
265269 uses : pypa/gh-action-pypi-publish@release/v1
@@ -272,7 +276,7 @@ jobs:
272276 build-and-push-docker-images :
273277 runs-on : ubuntu-20.04
274278 steps :
275- - uses : actions/checkout@v3
279+ - uses : actions/checkout@v4
276280 with :
277281 submodules : recursive
278282
@@ -299,17 +303,19 @@ jobs:
299303 needs : [check-python-style, build-python-wheels]
300304
301305 steps :
302- - uses : actions/checkout@v3
306+ - uses : actions/checkout@v4
303307
304308 - name : Set up Python 3.8
305- uses : actions/setup-python@v4
309+ uses : actions/setup-python@v5
306310 with :
307311 python-version : 3.8
308312
309313 - name : Download CTranslate2 wheels
310- uses : actions/download-artifact@v3
314+ uses : actions/download-artifact@v4
311315 with :
312- name : python-wheels
316+ pattern : python-wheels-${{ runner.os }}-*
317+ merge-multiple : true
318+ path : .
313319
314320 - name : Install CTranslate2 wheel
315321 run : |
0 commit comments