Skip to content

Commit afb7a4f

Browse files
committed
chore(CI): only calculate compile size deltas in PR
1 parent 2a8f554 commit afb7a4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build_arduino.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,9 @@ jobs:
110110
# Generate size deltas data for this board
111111
include:
112112
- fqbn: arduino:avr:nano
113-
enable-deltas-report: true
113+
enable-deltas-report: ${{ github.event_name == 'pull_request' }}
114114
- fqbn: arduino:samd:mkrzero # InterruptConfigure.ino uses pin 2
115-
enable-deltas-report: true
115+
enable-deltas-report: ${{ github.event_name == 'pull_request' }}
116116

117117
#### NOTE installing ATTinyCore has become too problematic for various reasons
118118
#### I'll have to revisit this later when the Arduino CLI tool gets their act together

0 commit comments

Comments
 (0)