Skip to content

Commit 1902eb5

Browse files
committed
Revert "Fix regression: report size delta size on PR. (#143)"
This reverts commit d599067.
1 parent d599067 commit 1902eb5

File tree

3 files changed

+20
-20
lines changed

3 files changed

+20
-20
lines changed

Diff for: .github/workflows/compile-examples.yml

+2-19
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,13 @@ on:
1919
# See: https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows#workflow_dispatch
2020
workflow_dispatch:
2121

22-
env:
23-
SKETCHES_REPORTS_PATH: sketches-reports
24-
2522
jobs:
26-
compile:
23+
build:
2724
name: ${{ matrix.board.fqbn }}
2825
runs-on: ubuntu-latest
2926

3027
env:
28+
SKETCHES_REPORTS_PATH: sketches-reports
3129
# Libraries to install for all boards
3230
UNIVERSAL_LIBRARIES: |
3331
# Install the ArduinoModbus library from the local path
@@ -119,18 +117,3 @@ jobs:
119117
if-no-files-found: error
120118
name: sketches-report-${{ matrix.board.artifact-name-suffix }}
121119
path: ${{ env.SKETCHES_REPORTS_PATH }}
122-
123-
report:
124-
needs: compile
125-
if: github.event_name == 'pull_request'
126-
runs-on: ubuntu-latest
127-
128-
steps:
129-
- name: Download sketches reports artifacts
130-
uses: actions/download-artifact@v4
131-
with:
132-
path: ${{ env.SKETCHES_REPORTS_PATH }}
133-
134-
- uses: arduino/report-size-deltas@v1
135-
with:
136-
sketches-reports-source: ${{ env.SKETCHES_REPORTS_PATH }}

Diff for: .github/workflows/report-size-deltas.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Report Size Deltas
2+
3+
on:
4+
schedule:
5+
- cron: "*/5 * * * *"
6+
# See: https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows#workflow_dispatch
7+
workflow_dispatch:
8+
9+
jobs:
10+
report:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Comment size deltas reports to PRs
15+
uses: arduino/report-size-deltas@v1
16+
with:
17+
# The name of the workflow artifact created by the "Compile Examples" workflow
18+
sketches-reports-source: sketches-reports

Diff for: .gitignore

-1
This file was deleted.

0 commit comments

Comments
 (0)