Skip to content

Commit 964531a

Browse files
committed
Split remove commands + add comments
1 parent 945db37 commit 964531a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/compile-examples.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,13 @@ jobs:
6868
path: extras
6969

7070
- name: Delete incompatible examples
71-
run: rm -r "$GITHUB_WORKSPACE/extras/examples/09.USB" && rm -r "$GITHUB_WORKSPACE/extras/examples/10.StarterKit_BasicKit/p11_CrystalBall" && rm -r "$GITHUB_WORKSPACE/extras/examples/10.StarterKit_BasicKit/p13_TouchSensorLamp"
71+
run: |
72+
# These boards do not support native USB
73+
rm -r "$GITHUB_WORKSPACE/extras/examples/09.USB"
74+
# The next command can be removed after the core integration with ArduinoCore-API
75+
rm -r "$GITHUB_WORKSPACE/extras/examples/10.StarterKit_BasicKit/p11_CrystalBall"
76+
# CapacitiveSensor library does not support megaAVR core yet
77+
rm -r "$GITHUB_WORKSPACE/extras/examples/10.StarterKit_BasicKit/p13_TouchSensorLamp"
7278
7379
- name: Compile examples
7480
uses: arduino/actions/libraries/compile-examples@master

0 commit comments

Comments
 (0)