Commit 152e510
committed
Don't upload multiple times to same artifact in integration test workflow
The `all-inputs` job of the "Run integration tests" GitHub Actions workflow is configured to generate multiple parallel
jobs. A GitHub Actions workflow artifact was used to transfer the sketches report files generated by the
"arduino/compile-sketches" action in each job to the subsequent job. The "actions/upload-artifact" and
"actions/download-artifact" actions are used for this purpose.
Previously, a single artifact was used for the transfer of all the sketches reports, with each of the parallel jobs
uploading its own generated files to that single artifact. However, support for uploading multiple times to a single
artifact was dropped in version 4.0.0 of the "actions/upload-artifact" action. So it is now necessary to use a dedicated
artifact for each of the parallel jobs. These artifacts can be downloaded in aggregate by using the artifact name
globbing and merging features which were introduced in version 4.1.0 of the "actions/download-artifact" action.1 parent 77a9c68 commit 152e510
1 file changed
+9
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| 95 | + | |
95 | 96 | | |
96 | 97 | | |
97 | 98 | | |
| |||
100 | 101 | | |
101 | 102 | | |
102 | 103 | | |
| 104 | + | |
103 | 105 | | |
104 | 106 | | |
105 | 107 | | |
| |||
140 | 142 | | |
141 | 143 | | |
142 | 144 | | |
143 | | - | |
| 145 | + | |
144 | 146 | | |
145 | | - | |
| 147 | + | |
146 | 148 | | |
147 | 149 | | |
148 | 150 | | |
149 | 151 | | |
150 | 152 | | |
151 | | - | |
| 153 | + | |
152 | 154 | | |
153 | 155 | | |
154 | | - | |
| 156 | + | |
155 | 157 | | |
156 | 158 | | |
157 | 159 | | |
| |||
322 | 324 | | |
323 | 325 | | |
324 | 326 | | |
325 | | - | |
| 327 | + | |
326 | 328 | | |
| 329 | + | |
327 | 330 | | |
328 | 331 | | |
329 | 332 | | |
| |||
349 | 352 | | |
350 | 353 | | |
351 | 354 | | |
352 | | - | |
| 355 | + | |
353 | 356 | | |
354 | 357 | | |
355 | 358 | | |
| |||
0 commit comments