Skip to content

Commit 051a212

Browse files
committed
save provisioning binary
1 parent da9c776 commit 051a212

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/compile-examples.yml

+10
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,10 @@ 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+
uses: actions/upload-artifact@v4
370+
with:
371+
name: sketches-build-${{ matrix.board.artifact-name-suffix }}
372+
path: ${{ env.BUILD_PATH }}

0 commit comments

Comments
 (0)