From a2100a262580effdac8bddad212603794186ea97 Mon Sep 17 00:00:00 2001 From: Thomas Friedrichsmeier Date: Mon, 9 Sep 2024 15:38:15 +0200 Subject: [PATCH] Update upload/download-artifact actions --- .github/workflows/compile_examples.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/compile_examples.yml b/.github/workflows/compile_examples.yml index 412129b..d8da7ce 100644 --- a/.github/workflows/compile_examples.yml +++ b/.github/workflows/compile_examples.yml @@ -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: @@ -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