Skip to content

Commit 1a5021d

Browse files
committed
Specify sketches report input values for sketch compilation CI actions
The reliance on the `actions/upload-artifacts` action 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 safest to not rely on the defaults.
1 parent b1aa83d commit 1a5021d

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/compile-examples.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,12 +170,14 @@ jobs:
170170
sketch-paths: "${{ env.UNIVERSAL_SKETCH_PATHS }} ${{ matrix.sketch-paths }}"
171171
size-report-sketch: 'ArduinoIoTCloud_Travis_CI'
172172
enable-size-deltas-report: 'true'
173+
sketches-report-path: ${{ env.SKETCHES_REPORTS_PATH }}
173174

174175
- name: Write data to size trends report spreadsheet
175176
# Update report on every push to the master branch
176177
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
177178
uses: arduino/report-size-trends@main
178179
with:
180+
sketches-report-path: ${{ env.SKETCHES_REPORTS_PATH }}
179181
google-key-file: ${{ secrets.GOOGLE_KEY_FILE }}
180182
spreadsheet-id: 1I6NZkpZpf8KugBkE92adB1Z3_b7ZepOpCdYTOigJpN4
181183

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,6 @@ jobs:
99
steps:
1010
- name: Comment size deltas reports to PRs
1111
uses: arduino/report-size-deltas@main
12+
with:
13+
# The name of the workflow artifact created by the "Compile Examples" workflow
14+
sketches-reports-source: sketches-reports

0 commit comments

Comments
 (0)