From 52d05b7cc7d92ca53d9b32267a2f7d085ae48dc0 Mon Sep 17 00:00:00 2001 From: Alexander Entinger Date: Thu, 29 Feb 2024 13:32:31 +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 | 6 ++---- .github/workflows/report-size-deltas.yml | 4 ++-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/compile-examples.yml b/.github/workflows/compile-examples.yml index 92421f0..c6fc379 100644 --- a/.github/workflows/compile-examples.yml +++ b/.github/workflows/compile-examples.yml @@ -34,12 +34,10 @@ jobs: matrix: board: - # TODO: Add list of boards to compile for here: - fqbn: arduino:mbed_edge:edge_control - # TODO: Define the board's platform dependencies here. - # See: https://github.com/arduino/compile-sketches#platforms platforms: | - name: arduino:mbed_edge + artifact-name-suffix: arduino-mbed_edge-edge_control steps: - name: Checkout repository @@ -72,4 +70,4 @@ jobs: with: if-no-files-found: error path: ${{ env.SKETCHES_REPORTS_PATH }} - name: ${{ env.SKETCHES_REPORTS_PATH }} + name: sketches-report-${{ matrix.board.artifact-name-suffix }} diff --git a/.github/workflows/report-size-deltas.yml b/.github/workflows/report-size-deltas.yml index 3eacdf4..0a315f1 100644 --- a/.github/workflows/report-size-deltas.yml +++ b/.github/workflows/report-size-deltas.yml @@ -21,5 +21,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-.+