Skip to content

Commit 2e00717

Browse files
committed
compile-examples: save provisioning binary as artifact
1 parent da9c776 commit 2e00717

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
@@ -344,6 +344,9 @@ jobs:
344344
${{ matrix.sketch-paths }}
345345
enable-deltas-report: "true"
346346
sketches-report-path: ${{ env.SKETCHES_REPORTS_PATH }}
347+
cli-compile-flags: |
348+
- --output-dir
349+
- ${{ runner.temp }}/arduino-cli-output
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: provisioning-${{ matrix.board.artifact-name-suffix }}
372+
path: ${{ runner.temp }}/arduino-cli-output/Provisioning*

0 commit comments

Comments
 (0)