We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3078af commit cc6f133Copy full SHA for cc6f133
.github/workflows/prerelease_on_version_bump.yaml
@@ -17,12 +17,12 @@ jobs:
17
- name: Detect single custom component directory
18
id: detect_integration
19
run: |
20
- DIR_COUNT=$(find custom_components -maxdepth 1 -type d | wc -l)
+ DIR_COUNT=$(find custom_components/* -maxdepth 0 -type d | wc -l)
21
if [ "$DIR_COUNT" -ne "1" ]; then
22
echo "Error: There must be exactly one custom component directory." >&2
23
exit 1
24
fi
25
- DOMAIN=$(basename $(find custom_components -maxdepth 1 -type d))
+ DOMAIN=$(basename $(find custom_components/* -maxdepth 0 -type d))
26
echo "::set-output name=domain::$DOMAIN"
27
28
- name: Install JQ
0 commit comments