File tree 2 files changed +39
-0
lines changed
2 files changed +39
-0
lines changed Original file line number Diff line number Diff line change 28
28
name : ${{ matrix.board.fqbn }}
29
29
runs-on : ubuntu-latest
30
30
31
+ env :
32
+ SKETCHES_REPORTS_PATH : sketches-reports
33
+
31
34
strategy :
32
35
fail-fast : false
33
36
61
64
# See: https://github.com/arduino/compile-sketches#libraries
62
65
sketch-paths : |
63
66
- examples
67
+ enable-deltas-report : true
68
+ sketches-report-path : ${{ env.SKETCHES_REPORTS_PATH }}
69
+
70
+ - name : Save sketches report as workflow artifact
71
+ uses : actions/upload-artifact@v3
72
+ with :
73
+ if-no-files-found : error
74
+ path : ${{ env.SKETCHES_REPORTS_PATH }}
75
+ name : ${{ env.SKETCHES_REPORTS_PATH }}
Original file line number Diff line number Diff line change
1
+ name : Report Size Deltas
2
+
3
+ # See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
4
+ on :
5
+ push :
6
+ paths :
7
+ - " .github/workflows/report-size-deltas.ya?ml"
8
+ schedule :
9
+ # Run at the minimum interval allowed by GitHub Actions.
10
+ # Note: GitHub Actions periodically has outages which result in workflow failures.
11
+ # In this event, the workflows will start passing again once the service recovers.
12
+ - cron : " */5 * * * *"
13
+ workflow_dispatch :
14
+ repository_dispatch :
15
+
16
+ permissions :
17
+ pull-requests : write
18
+
19
+ jobs :
20
+ report :
21
+ runs-on : ubuntu-latest
22
+ steps :
23
+ - name : Comment size deltas reports to PRs
24
+ uses : arduino/report-size-deltas@v1
25
+ with :
26
+ # The name of the workflow artifact created by the sketch compilation workflow
27
+ sketches-reports-source : sketches-reports
You can’t perform that action at this time.
0 commit comments