Skip to content

Commit be96863

Browse files
committed
fix(idf): Add JQ installation
1 parent 792b05a commit be96863

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

Diff for: .github/scripts/on-push-idf.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ for example in $idf_component_examples; do
1515

1616
has_requirements=$(${CHECK_REQUIREMENTS} "$example" "$example/sdkconfig")
1717
if [ "$has_requirements" -eq 1 ]; then
18-
echo "$example does not meet the requirements for $IDF_TARGET"
18+
printf "\n\033[93m%s does not meet the requirements for %s. Skipping...\033[0m\n\n" "$example" "$IDF_TARGET"
1919
continue
2020
fi
2121

22-
echo "Building $example"
22+
printf "\n\033[95mBuilding %s\033[0m\n\n" "$example"
2323
idf.py -C "$example" -DEXTRA_COMPONENT_DIRS="$PWD/components" build
2424
done

Diff for: .github/workflows/push.yml

+3
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,9 @@ jobs:
269269
submodules: recursive
270270
path: components/arduino-esp32
271271

272+
- name: Setup jq
273+
uses: dcarbone/install-jq-action@e397bd87438d72198f81efd21f876461183d383a # v3.0.1
274+
272275
- name: Build
273276
env:
274277
IDF_TARGET: ${{ matrix.idf_target }}

0 commit comments

Comments
 (0)