Skip to content

Commit

Permalink
Update upload/download-artifact actions
Browse files Browse the repository at this point in the history
  • Loading branch information
tfry-git committed Sep 9, 2024
1 parent dfabbe3 commit 1fd5ad8
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/compile_examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,11 @@ jobs:
sketches-report-path: ${{ env.SKETCHES_REPORTS_PATH }}

- name: Save sketches report as workflow artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
if-no-files-found: error
path: ${{ env.SKETCHES_REPORTS_PATH }}
name: sketches-reports-artifact
name: sketches-reports-artifact-${{ matrix.board.type }}

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

- uses: arduino/report-size-deltas@v1
Expand Down

0 comments on commit 1fd5ad8

Please sign in to comment.