@@ -64,17 +64,17 @@ jobs:
64
64
nix develop .#tests.${{ matrix.package }} --build
65
65
66
66
- name : 💾 Upload build & test artifacts
67
- uses : actions/upload-artifact@v3
67
+ uses : actions/upload-artifact@v4
68
68
with :
69
- name : test-results
69
+ name : test-results-${{ matrix.package }}
70
70
path : |
71
71
./**/test-results.xml
72
72
./**/hspec-results.md
73
73
74
74
# NOTE: This depends on the path used in hydra-cluster e2e tests
75
75
- name : 💾 Upload logs
76
76
if : always()
77
- uses : actions/upload-artifact@v3
77
+ uses : actions/upload-artifact@v4
78
78
with :
79
79
name : hydra-cluster-e2e-test-logs
80
80
path : /tmp/nix-shell.*/hydra-cluster-e2e-*/logs/*
87
87
- name : 📥 Download test results
88
88
uses : actions/download-artifact@v4
89
89
with :
90
- name : test-results
90
+ pattern : test-results-*
91
+ merge-multiple : true
91
92
92
93
- name : ✏ Publish test results to PR
93
94
uses : EnricoMi/publish-unit-test-result-action@v2
@@ -121,7 +122,7 @@ jobs:
121
122
cp -aL result/* haddocks/
122
123
123
124
- name : 💾 Upload haddock artifact
124
- uses : actions/upload-artifact@v3
125
+ uses : actions/upload-artifact@v4
125
126
with :
126
127
name : haddocks
127
128
path : haddocks
@@ -168,9 +169,9 @@ jobs:
168
169
nix develop .#benchs.${{ matrix.package }} --command ${{ matrix.bench }} ${{ matrix.options }}
169
170
170
171
- name : 💾 Upload build & test artifacts
171
- uses : actions/upload-artifact@v3
172
+ uses : actions/upload-artifact@v4
172
173
with :
173
- name : benchmarks
174
+ name : benchmarks-${{matrix.package}}-${{matrix.bench}}
174
175
path : benchmarks
175
176
176
177
publish-benchmark-results :
@@ -183,8 +184,9 @@ jobs:
183
184
- name : 📥 Download generated documentation
184
185
uses : actions/download-artifact@v4
185
186
with :
186
- name : benchmarks
187
187
path : artifact
188
+ pattern : benchmarks-*
189
+ merge-multiple : true
188
190
189
191
- name : ⚙ Prepare comment body
190
192
id : comment-body
@@ -237,7 +239,7 @@ jobs:
237
239
nix build .#spec && cp result/*.pdf spec/
238
240
239
241
- name : 💾 Upload specification
240
- uses : actions/upload-artifact@v3
242
+ uses : actions/upload-artifact@v4
241
243
with :
242
244
name : hydra-spec
243
245
path : |
@@ -272,8 +274,9 @@ jobs:
272
274
- name : 📥 Download benchmark results
273
275
uses : actions/download-artifact@v4
274
276
with :
275
- name : benchmarks
276
277
path : docs/benchmarks
278
+ pattern : benchmarks-*
279
+ merge-multiple : true
277
280
278
281
- name : 📥 Download haddock documentation
279
282
uses : actions/download-artifact@v4
@@ -284,7 +287,8 @@ jobs:
284
287
- name : 📥 Download test results
285
288
uses : actions/download-artifact@v4
286
289
with :
287
- name : test-results
290
+ pattern : test-results-*
291
+ merge-multiple : true
288
292
path : docs/benchmarks/tests
289
293
290
294
- name : 📥 Download specification PDF
0 commit comments