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 e5fb971 commit fd30e25
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/compile-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,16 @@ jobs:
env:
SKETCHES_REPORTS_PATH: sketches-reports

strategy:
fail-fast: false

matrix:
board:
- fqbn: arduino:samd:mkrnb1500
platforms: |
- name: arduino:samd
artifact-name-suffix: arduino-samd-mkrnb1500

steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -27,9 +37,10 @@ jobs:
uses: arduino/compile-sketches@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
fqbn: arduino:samd:mkrnb1500
fqbn: ${{ matrix.board.fqbn }}
platforms: ${{ matrix.board.platforms }}
libraries: |
# Install the WiFi101 library from the local path
# Install the MKRNB library from the local path
- source-path: ./
sketch-paths: |
examples
Expand All @@ -39,5 +50,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 @@ -10,5 +10,5 @@ jobs:
- name: Comment size deltas reports to PRs
uses: arduino/report-size-deltas@main
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 fd30e25

Please sign in to comment.