Skip to content

Commit caa25e0

Browse files
committed
Use YAML style compile flags
1 parent ecabe7b commit caa25e0

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/compile-examples-profiles.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,16 +67,21 @@ jobs:
6767
uses: arduino/compile-sketches@v1
6868
with:
6969
github-token: ${{ secrets.GITHUB_TOKEN }}
70-
cli-compile-flags: --profile ${{ matrix.board.fqbn }}
7170
sketch-paths: |
7271
${{ env.UNIVERSAL_SKETCH_PATHS }}
7372
${{ matrix.board.additional-sketch-paths }}
73+
fqbn: ${{ matrix.board.fqbn }}
74+
platforms: ${{ matrix.board.platforms }}
75+
cli-compile-flags: |
76+
- --profile
77+
- ${{ matrix.board.fqbn }}
7478
enable-deltas-report: true
7579
sketches-report-path: ${{ env.SKETCHES_REPORTS_PATH }}
80+
verbose: true
7681

7782
- name: Save sketches report as workflow artifact
7883
uses: actions/upload-artifact@v4
7984
with:
8085
if-no-files-found: error
8186
name: sketches-report-${{ matrix.board.artifact-name-suffix }}
82-
path: ${{ env.SKETCHES_REPORTS_PATH }}
87+
path: ${{ env.SKETCHES_REPORTS_PATH }}

0 commit comments

Comments
 (0)