Use yaml files (#9)

This commit is contained in:
Joakim Sørensen
2021-09-26 17:05:37 +02:00
committed by GitHub
parent 0bbf0dd6cd
commit f7242ec678
8 changed files with 42 additions and 58 deletions

View File

@@ -22,15 +22,7 @@ jobs:
- name: 🔍 Find add-on directories
id: addons
run: |
declare -a found_addons
for addon in $(find ./ -name config.json | cut -d "/" -f2 | sort -u); do
found_addons+=("\"${addon}\",");
done
addons=$(echo ${found_addons[@]} | rev | cut -c 2- | rev)
echo "Add-ons found: ${addons}"
echo "::set-output name=addons::[${addons}]"
uses: home-assistant/actions/helpers/find-addons@master
lint:
name: Lint add-on ${{ matrix.path }}