Skip to content

Commit 59ef78f

Browse files
committed
Use modern API of arduino/compile-sketches CI action
The API of the arduino/compile-sketches GitHub Actions action has evolved since the time this repository's CI was set up. Although backwards compatibility with the previous API was retained, its use is deprecated and results in potentially confusing warnings.
1 parent 95feac7 commit 59ef78f

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

.github/workflows/compile-examples.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ jobs:
2929
- source-path: ./
3030
- name: ArduinoECCX08
3131
# sketch paths to compile (recursive) for all boards
32-
UNIVERSAL_SKETCH_PATHS: '"examples/SHA1" "examples/SHA256"'
32+
UNIVERSAL_SKETCH_PATHS: |
33+
- examples/SHA1
34+
- examples/SHA256
3335
SKETCHES_REPORTS_PATH: sketches-reports
3436

3537
strategy:
@@ -51,13 +53,15 @@ jobs:
5153
type: wifi101
5254
libraries: |
5355
- name: WiFi101
54-
sketch-paths: '"examples/WiFiSSLClient"'
56+
sketch-paths: |
57+
- examples/WiFiSSLClient
5558
# GSM boards
5659
- board:
5760
type: gsm
5861
libraries: |
5962
- name: MKRGSM
60-
sketch-paths: '"examples/MKRGSMSSLClient"'
63+
sketch-paths: |
64+
- examples/MKRGSMSSLClient
6165
6266
steps:
6367
- name: Checkout
@@ -70,10 +74,11 @@ jobs:
7074
libraries: |
7175
${{ env.UNIVERSAL_LIBRARIES }}
7276
${{ matrix.libraries }}
73-
sketch-paths: ${{ env.UNIVERSAL_SKETCH_PATHS }} ${{ matrix.sketch-paths }}
74-
size-report-sketch: SHA256
75-
enable-size-deltas-report: true
77+
sketch-paths: |
78+
${{ env.UNIVERSAL_SKETCH_PATHS }}
79+
${{ matrix.sketch-paths }}
7680
verbose: true
81+
enable-deltas-report: true
7782
sketches-report-path: ${{ env.SKETCHES_REPORTS_PATH }}
7883

7984
- name: Save sketches report as artifact

0 commit comments

Comments
 (0)