2020 runs-on : ${{ matrix.os }}
2121 strategy :
2222 fail-fast : true
23+ # fail-fast: false
2324 matrix :
2425 os : [ubuntu-22.04]
2526 lang : [
@@ -227,10 +228,10 @@ jobs:
227228 pushd bench
228229 dotnet run -c Release --project tool -- --task test --langs ${{ matrix.lang }}
229230 popd
230- - uses : actions/upload-artifact@v3
231+ - uses : actions/upload-artifact@v4
231232 if : github.ref == 'refs/heads/main'
232233 with :
233- name : build
234+ name : build-${{ matrix.lang }}
234235 path : bench/build/**/*
235236 if-no-files-found : error
236237 gate :
@@ -302,9 +303,10 @@ jobs:
302303 with :
303304 ruby-version : 3 # Not needed with a .ruby-version file
304305 bundler-cache : true # runs 'bundle install' and caches installed gems automatically
305- - uses : actions/download-artifact@v3
306+ - uses : actions/download-artifact@v4
306307 with :
307- name : build
308+ pattern : build-*
309+ merge-multiple : true
308310 path : bench/build/
309311 - name : Bench
310312 run : |
@@ -313,7 +315,7 @@ jobs:
313315 dotnet run -c Release --project tool -- --task test --ignore-missing
314316 dotnet run -c Release --project tool -- --task bench --ignore-missing
315317 popd
316- - uses : actions/upload-artifact@v3
318+ - uses : actions/upload-artifact@v4
317319 with :
318320 name : log
319321 path : bench/build/_results/**/*
@@ -333,7 +335,7 @@ jobs:
333335 - uses : pnpm/action-setup@v2
334336 with :
335337 version : 9
336- - uses : actions/download-artifact@v3
338+ - uses : actions/download-artifact@v4
337339 with :
338340 # Artifact name
339341 name : log
0 commit comments