From fdad7b242d75fee4eaa7584fb6eb8082db2d05b7 Mon Sep 17 00:00:00 2001 From: Alexander Entinger Date: Fri, 1 Mar 2024 05:54:26 +0100 Subject: [PATCH] Fix regression re report-size-deltas after updating actions/upload-artifact. For more information see https://github.com/arduino/report-size-deltas/blob/main/docs/FAQ.md#size-deltas-report-workflow-triggered-by-schedule-event . --- .github/workflows/Compile Examples.yml | 5 ++++- .github/workflows/report-size-deltas.yml | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/Compile Examples.yml b/.github/workflows/Compile Examples.yml index ec511bf..3bfe0c3 100644 --- a/.github/workflows/Compile Examples.yml +++ b/.github/workflows/Compile Examples.yml @@ -33,6 +33,9 @@ jobs: matrix: board: - fqbn: arduino:samd:mkrwifi1010 + platforms: | + - name: arduino:samd + artifact-name-suffix: arduino-samd-mkrwifi1010 steps: - name: Checkout @@ -78,5 +81,5 @@ jobs: - name: Save memory usage change report as artifact uses: actions/upload-artifact@v4 with: - name: ${{ env.SKETCHES_REPORTS_PATH }} + name: sketches-report-${{ matrix.board.artifact-name-suffix }} path: ${{ env.SKETCHES_REPORTS_PATH }} diff --git a/.github/workflows/report-size-deltas.yml b/.github/workflows/report-size-deltas.yml index 652be5d..39e2a0a 100644 --- a/.github/workflows/report-size-deltas.yml +++ b/.github/workflows/report-size-deltas.yml @@ -20,5 +20,5 @@ jobs: - name: Comment size deltas reports to PRs uses: arduino/report-size-deltas@v1 with: - # The name of the workflow artifact created by the sketch compilation workflow - sketches-reports-source: sketches-reports + # Regex matching the names of the workflow artifacts created by the "Compile Examples" workflow + sketches-reports-source: ^sketches-report-.+