Skip to content

Commit

Permalink
Fix regression report-size-deltas after updating upload-artifact.
Browse files Browse the repository at this point in the history
  • Loading branch information
aentinger committed Mar 6, 2024
1 parent 5fccb32 commit 0079c9a
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
14 changes: 13 additions & 1 deletion .github/workflows/compile-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,39 +30,50 @@ jobs:
- fqbn: arduino:samd:mkrzero
platforms: |
- name: arduino:samd
artifact-name-suffix: arduino-samd-mkrzero
- fqbn: arduino:mbed_portenta:envie_m7
platforms: |
- name: arduino:mbed_portenta
artifact-name-suffix: arduino-mbed_portenta-envie_m7
- fqbn: arduino:mbed_portenta:envie_m7:target_core=cm4
platforms: |
- name: arduino:mbed_portenta
artifact-name-suffix: arduino-mbed_portenta-envie_m7-target_core-cm4
- fqbn: arduino:mbed_nano:nano33ble
platforms: |
- name: arduino:mbed_nano
artifact-name-suffix: arduino-mbed_nano-nano33ble
- fqbn: arduino:mbed_nano:nanorp2040connect
platforms: |
- name: arduino:mbed_nano
artifact-name-suffix: arduino-mbed_nano-nanorp2040connect
- fqbn: arduino:mbed_edge:edge_control
platforms: |
- name: arduino:mbed_edge
artifact-name-suffix: arduino-mbed_edge-edge_control
- fqbn: esp32:esp32:esp32
platforms: |
- name: esp32:esp32
source-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
artifact-name-suffix: esp32-esp32-esp32
- fqbn: rp2040:rp2040:rpipico
platforms: |
- name: rp2040:rp2040
source-url: https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json
artifact-name-suffix: rp2040-rp2040-rpipico
- fqbn: adafruit:samd:adafruit_feather_m4_can
platforms: |
- name: adafruit:samd
source-url: https://adafruit.github.io/arduino-board-index/package_adafruit_index.json
artifact-name-suffix: adafruit-samd-adafruit_feather_m4_can
- fqbn: arduino:renesas_portenta:portenta_c33
platforms: |
- name: arduino:renesas_portenta
artifact-name-suffix: arduino-renesas_portenta-portenta_c33
- fqbn: arduino:renesas_uno:minima
platforms: |
- name: arduino:renesas_uno
artifact-name-suffix: arduino-renesas_uno-minima

steps:
- name: Checkout
Expand All @@ -86,5 +97,6 @@ jobs:
if: github.event_name == 'pull_request'
uses: actions/upload-artifact@v4
with:
name: ${{ env.SKETCHES_REPORTS_PATH }}
if-no-files-found: error
path: ${{ env.SKETCHES_REPORTS_PATH }}
name: sketches-report-${{ matrix.board.artifact-name-suffix }}
5 changes: 4 additions & 1 deletion .github/workflows/report-size-deltas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,7 @@ jobs:
steps:
# See: https://github.com/arduino/report-size-deltas/README.md
- name: Comment size deltas reports to PRs
uses: arduino/report-size-deltas@main
uses: arduino/report-size-deltas@v1
with:
# Regex matching the names of the workflow artifacts created by the "Compile Examples" workflow
sketches-reports-source: ^sketches-report-.+

0 comments on commit 0079c9a

Please sign in to comment.