Skip to content

Commit 95feac7

Browse files
committed
Use official repository for sketch compilation CI action
The official dedicated repository for the Arduino sketch compilation GitHub Actions action is now arduino/compile-sketches. Since the time the action was moved, there was a breaking change to the default sketches report file name. Rather than continuing to rely on the default value, a specific file name is now defined in the workflow.
1 parent b5e55dd commit 95feac7

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/compile-examples.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
- name: ArduinoECCX08
3131
# sketch paths to compile (recursive) for all boards
3232
UNIVERSAL_SKETCH_PATHS: '"examples/SHA1" "examples/SHA256"'
33+
SKETCHES_REPORTS_PATH: sketches-reports
3334

3435
strategy:
3536
fail-fast: false
@@ -63,7 +64,7 @@ jobs:
6364
uses: actions/checkout@v2
6465

6566
- name: Compile examples
66-
uses: per1234/actions/libraries/compile-examples@beaac5ae4bb7ab294f1305e436172fde4c281fc8
67+
uses: arduino/compile-sketches@main
6768
with:
6869
fqbn: ${{ matrix.board.fqbn }}
6970
libraries: |
@@ -73,10 +74,11 @@ jobs:
7374
size-report-sketch: SHA256
7475
enable-size-deltas-report: true
7576
verbose: true
77+
sketches-report-path: ${{ env.SKETCHES_REPORTS_PATH }}
7678

7779
- name: Save sketches report as artifact
7880
if: github.event_name == 'pull_request'
7981
uses: actions/upload-artifact@v2
8082
with:
81-
name: size-deltas-reports
82-
path: size-deltas-reports
83+
path: ${{ env.SKETCHES_REPORTS_PATH }}
84+
name: ${{ env.SKETCHES_REPORTS_PATH }}

0 commit comments

Comments
 (0)