Skip to content

Commit

Permalink
Fix regression report-size-deltas after updating upload-artifact. (#355)
Browse files Browse the repository at this point in the history
  • Loading branch information
aentinger authored Mar 6, 2024
1 parent 490c091 commit 722d325
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 3 deletions.
22 changes: 21 additions & 1 deletion .github/workflows/compile-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,17 +51,35 @@ jobs:
matrix:
board:
- fqbn: arduino:avr:uno
platforms: |
- name: arduino:avr
firmwareUpdaterSupport: false
artifact-name-suffix: arduino-avr-uno
- fqbn: arduino:avr:mega
platforms: |
- name: arduino:avr
firmwareUpdaterSupport: false
artifact-name-suffix: arduino-avr-mega
- fqbn: arduino:sam:arduino_due_x_dbg
platforms: |
- name: arduino:sam
firmwareUpdaterSupport: true
artifact-name-suffix: arduino-sam-arduino_due_x_dbg
- fqbn: arduino:samd:arduino_zero_edbg
platforms: |
- name: arduino:samd
firmwareUpdaterSupport: true
artifact-name-suffix: arduino-samd-arduino_zero_edbg
- fqbn: arduino:samd:mkr1000
platforms: |
- name: arduino:samd
firmwareUpdaterSupport: true
artifact-name-suffix: arduino-samd-mkr1000
- fqbn: Intel:arc32:arduino_101
platforms: |
- name: Intel:arc32
firmwareUpdaterSupport: true
artifact-name-suffix: Intel-arc32-arduino_101

# make board type-specific customizations to the matrix jobs
include:
Expand All @@ -82,6 +100,7 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
fqbn: ${{ matrix.board.fqbn }}
platforms: ${{ matrix.board.platforms }}
libraries: |
# Install the WiFi101 library from the local path
- source-path: ./
Expand All @@ -94,5 +113,6 @@ jobs:
- name: Save memory usage change report as artifact
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 }}
4 changes: 2 additions & 2 deletions .github/workflows/report-size-deltas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,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 "Compile Examples" 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-.+

0 comments on commit 722d325

Please sign in to comment.