Skip to content

Commit a8ad0e2

Browse files
committed
compile-examples: save provisioning binary as artifact
1 parent 43b3ae4 commit a8ad0e2

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
@@ -368,6 +368,9 @@ jobs:
368368
${{ matrix.sketch-paths }}
369369
enable-deltas-report: "true"
370370
sketches-report-path: ${{ env.SKETCHES_REPORTS_PATH }}
371+
cli-compile-flags: |
372+
- --output-dir
373+
- ${{ runner.temp }}/arduino-cli-output
371374
372375
- name: Write data to size trends report spreadsheet
373376
# Update report on every push to the master branch
@@ -384,3 +387,10 @@ jobs:
384387
with:
385388
name: sketches-report-${{ matrix.board.artifact-name-suffix }}
386389
path: ${{ env.SKETCHES_REPORTS_PATH }}
390+
391+
- name: Save build artifact
392+
if: github.event_name == 'pull_request'
393+
uses: actions/upload-artifact@v4
394+
with:
395+
name: provisioning-${{ matrix.board.artifact-name-suffix }}
396+
path: ${{ runner.temp }}/arduino-cli-output/Provisioning*

0 commit comments

Comments
 (0)