File tree 3 files changed +28
-20
lines changed
3 files changed +28
-20
lines changed Original file line number Diff line number Diff line change 18
18
workflow_dispatch :
19
19
repository_dispatch :
20
20
21
- env :
22
- SKETCHES_REPORTS_PATH : sketches-reports
23
-
24
21
jobs :
25
- compile :
22
+ build :
26
23
name : ${{ matrix.board.fqbn }}
27
24
runs-on : ubuntu-latest
28
25
26
+ env :
27
+ SKETCHES_REPORTS_PATH : sketches-reports
28
+
29
29
strategy :
30
30
fail-fast : false
31
31
@@ -128,18 +128,3 @@ jobs:
128
128
if-no-files-found : error
129
129
path : ${{ env.SKETCHES_REPORTS_PATH }}
130
130
name : sketches-report-${{ matrix.board.artifact-name-suffix }}
131
-
132
- report :
133
- needs : compile
134
- if : github.event_name == 'pull_request'
135
- runs-on : ubuntu-latest
136
-
137
- steps :
138
- - name : Download sketches reports artifacts
139
- uses : actions/download-artifact@v4
140
- with :
141
- path : ${{ env.SKETCHES_REPORTS_PATH }}
142
-
143
- - uses : arduino/report-size-deltas@v1
144
- with :
145
- sketches-reports-source : ${{ 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/free-pro-team@latest/actions/reference/events-that-trigger-workflows
4
+ on :
5
+ push :
6
+ paths :
7
+ - " .github/workflows/report-size-deltas.yml"
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
+ jobs :
17
+ report :
18
+ runs-on : ubuntu-latest
19
+ steps :
20
+ - name : Comment size deltas reports to PRs
21
+ uses : arduino/report-size-deltas@v1
22
+ with :
23
+ # The name of the workflow artifact created by the sketch compilation workflow
24
+ sketches-reports-source : sketches-reports
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments