We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6330eca commit 792b05aCopy full SHA for 792b05a
.github/scripts/on-push-idf.sh
@@ -7,8 +7,8 @@ CHECK_REQUIREMENTS="./components/arduino-esp32/.github/scripts/sketch_utils.sh c
7
# Export IDF environment
8
. ${IDF_PATH}/export.sh
9
10
-# Find all sub-folders in ./components/arduino-esp32/idf_component_examples and save them in a variable
11
-idf_component_examples=$(find ./components/arduino-esp32/idf_component_examples -type d)
+# Find all examples in ./components/arduino-esp32/idf_component_examples
+idf_component_examples=$(find ./components/arduino-esp32/idf_component_examples -mindepth 1 -maxdepth 1 -type d)
12
13
for example in $idf_component_examples; do
14
idf.py -C "$example" set-target "$IDF_TARGET"
0 commit comments