Skip to content

Commit 67757f0

Browse files
pennamfabik111
authored andcommitted
compile-examples: save provisioning binary as artifact
1 parent 819161c commit 67757f0

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Diff for: .github/workflows/compile-examples.yml

+10
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,9 @@ jobs:
361361
${{ matrix.sketch-paths }}
362362
enable-deltas-report: "true"
363363
sketches-report-path: ${{ env.SKETCHES_REPORTS_PATH }}
364+
cli-compile-flags: |
365+
- --output-dir
366+
- ${{ runner.temp }}/arduino-cli-output
364367
365368
- name: Write data to size trends report spreadsheet
366369
# Update report on every push to the master branch
@@ -377,3 +380,10 @@ jobs:
377380
with:
378381
name: sketches-report-${{ matrix.board.artifact-name-suffix }}
379382
path: ${{ env.SKETCHES_REPORTS_PATH }}
383+
384+
- name: Save build artifact
385+
if: github.event_name == 'pull_request'
386+
uses: actions/upload-artifact@v4
387+
with:
388+
name: provisioning-${{ matrix.board.artifact-name-suffix }}
389+
path: ${{ runner.temp }}/arduino-cli-output/Provisioning*

0 commit comments

Comments
 (0)