Skip to content

Commit a95aef6

Browse files
committed
Specify sketches report input values for sketch compilation CI actions
The reliance on the `actions/upload-artifacts` action as the transfer mechanism between workflow runs means that these values will always be hardcoded into the workflow. The result is that if the default values of the inputs are changed, it breaks the workflow, even if the changes are synchronized. So it's more robust to avoid dependening on the default values.
1 parent d1b989c commit a95aef6

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/compile-examples.yml

+1
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ jobs:
146146
${{ matrix.additional-sketch-paths }}
147147
enable-deltas-report: 'true'
148148
verbose: 'true'
149+
sketches-report-path: ${{ env.SKETCHES_REPORTS_PATH }}
149150

150151
- name: Save memory usage change report as artifact
151152
uses: actions/upload-artifact@v2

.github/workflows/report-size-deltas.yml

+3
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,6 @@ jobs:
1111
steps:
1212
- name: Comment size deltas reports to PRs
1313
uses: arduino/report-size-deltas@v1
14+
with:
15+
# The name of the workflow artifact created by the sketch compilation workflow
16+
sketches-reports-source: sketches-reports

0 commit comments

Comments
 (0)