Skip to content

Commit bb73ae3

Browse files
committed
Update upload/download-artifact actions
1 parent dfabbe3 commit bb73ae3

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/compile_examples.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,11 @@ jobs:
9090
sketches-report-path: ${{ env.SKETCHES_REPORTS_PATH }}
9191

9292
- name: Save sketches report as workflow artifact
93-
uses: actions/upload-artifact@v3
93+
uses: actions/upload-artifact@v4
9494
with:
9595
if-no-files-found: error
9696
path: ${{ env.SKETCHES_REPORTS_PATH }}
97-
name: sketches-reports-artifact
97+
name: sketches-reports-artifact-${{ matrix.board.internalid }}
9898

9999
# When using a matrix to compile for multiple boards, it's necessary to use a separate job for the deltas report
100100
report:
@@ -104,9 +104,10 @@ jobs:
104104
steps:
105105
# This step is needed to get the size data produced by the compile jobs
106106
- name: Download sketches reports artifact
107-
uses: actions/download-artifact@v3
107+
uses: actions/download-artifact@v4
108108
with:
109-
name: sketches-reports-artifact
109+
pattern: sketches-reports-artifact-*
110+
merge-multiple: true
110111
path: ${{ env.SKETCHES_REPORTS_PATH }}
111112

112113
- uses: arduino/report-size-deltas@v1

0 commit comments

Comments
 (0)