Skip to content
This repository has been archived by the owner on May 26, 2024. It is now read-only.

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 05cb555 commit baf47b2
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 3 deletions.
22 changes: 20 additions & 2 deletions .github/workflows/compile-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,55 +27,72 @@ jobs:
- fqbn: arduino:samd:mkr1000
platforms: |
- name: arduino:samd
artifact-name-suffix: arduino-samd-mkr1000
- fqbn: arduino:samd:mkrzero
platforms: |
- name: arduino:samd
artifact-name-suffix: arduino-samd-mkrzero
- fqbn: arduino:samd:mkrwifi1010
platforms: |
- name: arduino:samd
artifact-name-suffix: arduino-samd-mkrwifi1010
- fqbn: arduino:samd:mkrfox1200
platforms: |
- name: arduino:samd
artifact-name-suffix: arduino-samd-mkrfox1200
- fqbn: arduino:samd:mkrwan1300
platforms: |
- name: arduino:samd
artifact-name-suffix: arduino-samd-mkrwan1300
- fqbn: arduino:samd:mkrwan1310
platforms: |
- name: arduino:samd
artifact-name-suffix: arduino-samd-mkrwan1310
- fqbn: arduino:samd:mkrgsm1400
platforms: |
- name: arduino:samd
artifact-name-suffix: arduino-samd-mkrgsm1400
- fqbn: arduino:samd:mkrnb1500
platforms: |
- name: arduino:samd
artifact-name-suffix: arduino-samd-mkrnb1500
- fqbn: arduino:samd:mkrvidor4000
platforms: |
- name: arduino:samd
artifact-name-suffix: arduino-samd-mkrvidor4000
- 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-edge_control
- 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,7 +103,7 @@ jobs:
run: pip3 install pyserial

- name: Compile examples
uses: arduino/compile-sketches@main
uses: arduino/compile-sketches@v1
with:
fqbn: ${{ matrix.board.fqbn }}
platforms: ${{ matrix.board.platforms }}
Expand All @@ -98,5 +115,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/actions/blob/master/libraries/report-size-deltas/README.md
- name: Comment size deltas reports to PRs
uses: arduino/actions/libraries/report-size-deltas@master
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 baf47b2

Please sign in to comment.