@@ -4,13 +4,13 @@ name: Compile Examples
4
4
on :
5
5
push :
6
6
paths :
7
- - " .github/workflows/compile-examples-private .ya?ml"
7
+ - " .github/workflows/compile-examples.ya?ml"
8
8
- " library.properties"
9
9
- " examples/**"
10
10
- " src/**"
11
11
pull_request :
12
12
paths :
13
- - " .github/workflows/compile-examples-private .ya?ml"
13
+ - " .github/workflows/compile-examples.ya?ml"
14
14
- " library.properties"
15
15
- " examples/**"
16
16
- " src/**"
20
20
workflow_dispatch :
21
21
repository_dispatch :
22
22
23
- env :
24
- SKETCHES_REPORTS_PATH : sketches-reports
25
- SKETCHES_REPORTS_ARTIFACT_NAME : sketches-reports
26
-
27
23
jobs :
28
24
build :
29
25
name : ${{ matrix.board.fqbn }}
30
26
runs-on : ubuntu-latest
31
27
28
+ env :
29
+ SKETCHES_REPORTS_PATH : sketches-reports
30
+
32
31
strategy :
33
32
fail-fast : false
34
33
63
62
with :
64
63
if-no-files-found : error
65
64
path : ${{ env.SKETCHES_REPORTS_PATH }}
66
- name : ${{ env.SKETCHES_REPORTS_ARTIFACT_NAME }}
67
-
68
- report-size-deltas :
69
- needs : build
70
- # Run even if some compilations failed. Only run when there are write permissions.
71
- if : always() && github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository
72
- runs-on : ubuntu-latest
73
-
74
- steps :
75
- - name : Download sketches reports artifact
76
- id : download-artifact
77
- continue-on-error : true # If compilation failed for all boards then there are no artifacts
78
- uses : actions/download-artifact@v2
79
- with :
80
- name : ${{ env.SKETCHES_REPORTS_ARTIFACT_NAME }}
81
- path : ${{ env.SKETCHES_REPORTS_PATH }}
82
-
83
- - name : Comment size deltas report to PR
84
- uses : arduino/report-size-deltas@v1
85
- # If actions/download-artifact failed, there are no artifacts to report from.
86
- if : steps.download-artifact.outcome == 'success'
87
- with :
88
- sketches-reports-source : ${{ env.SKETCHES_REPORTS_PATH }}
65
+ name : ${{ env.SKETCHES_REPORTS_PATH }}
0 commit comments