Skip to content

Commit f05f9eb

Browse files
committed
save provisioning binary
1 parent da9c776 commit f05f9eb

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/compile-examples.yml

+12
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434
- examples/ArduinoIoTCloud-Callbacks
3535
- examples/utility/ArduinoIoTCloud_Travis_CI
3636
SKETCHES_REPORTS_PATH: sketches-reports
37+
BUILD_PATH: sketches-build
3738

3839
strategy:
3940
fail-fast: false
@@ -344,6 +345,8 @@ jobs:
344345
${{ matrix.sketch-paths }}
345346
enable-deltas-report: "true"
346347
sketches-report-path: ${{ env.SKETCHES_REPORTS_PATH }}
348+
cli-compile-flags: |
349+
- --output-dir=${{ env.BUILD_PATH }}
347350
348351
- name: Write data to size trends report spreadsheet
349352
# Update report on every push to the master branch
@@ -360,3 +363,12 @@ jobs:
360363
with:
361364
name: sketches-report-${{ matrix.board.artifact-name-suffix }}
362365
path: ${{ env.SKETCHES_REPORTS_PATH }}
366+
367+
- name: Save build artifact
368+
if: github.event_name == 'pull_request'
369+
run: |
370+
ls -la ${{ env.BUILD_PATH }}
371+
uses: actions/upload-artifact@v4
372+
with:
373+
name: sketches-build-${{ matrix.board.artifact-name-suffix }}
374+
path: ${{ env.BUILD_PATH }}

0 commit comments

Comments
 (0)