Update build-list.yml

This commit is contained in:
Igor Pečovnik
2022-01-05 13:15:26 +01:00
committed by GitHub
parent a4ce171dd9
commit 88aa123d76

View File

@@ -40,19 +40,7 @@ jobs:
- test
- avc
" > scripts/.github/workflows/go.yml
find build/config/distributions -mindepth 1 -maxdepth 1 -type d | sed 's/.*\///'
MATRIX=$(
set +e
releases=($(find build/config/distributions -mindepth 1 -maxdepth 1 -type d | sed 's/.*\///' ))
for i in ${releases[@]}
do
environments=($([[ -d build/config/desktop/$i/environments ]] && ls -1 build/config/desktop/$i/environments))
for j in ${environments[@]}
do
echo "$i:$j"
done
done)
echo $MATRIX > scripts/READ
cat build/config/targets*.conf | grep -v "^$" | grep -v "^#" | sed -n $LINE'p' | cut -d " " -f1 | sort | uniq | sed 's/^/ - /' >> scripts/.github/workflows/go.yml
- name: Add
run: |