Skip to content

Commit c3f8a97

Browse files
committed
Compile only when a relevant file is modified
1 parent 4f861fd commit c3f8a97

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

.github/workflows/compile-examples.yml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,22 @@
11
name: Compile Examples
22

3-
on: [pull_request, push]
3+
on:
4+
pull_request:
5+
paths:
6+
- ".github/workflows/compile-examples.yml"
7+
- "cores/**"
8+
- "libraries/**"
9+
- "variants/**"
10+
- "boards.txt"
11+
- "platform.txt"
12+
push:
13+
paths:
14+
- ".github/workflows/compile-examples.yml"
15+
- "cores/**"
16+
- "libraries/**"
17+
- "variants/**"
18+
- "boards.txt"
19+
- "platform.txt"
420

521
jobs:
622
compile-test:
@@ -118,7 +134,6 @@ jobs:
118134
- name: Ethernet
119135
- name: ArduinoBearSSL
120136
- name: Arduino_APDS9960
121-
- name: Servo
122137
- name: Arduino_LSM9DS1
123138
- name: ArduinoHttpClient
124139
- name: NTPClient

0 commit comments

Comments
 (0)