From 88aa123d7686836f7558b8d6d3aab3d02e792aeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Igor=20Pe=C4=8Dovnik?= Date: Wed, 5 Jan 2022 13:15:26 +0100 Subject: [PATCH] Update build-list.yml --- .github/workflows/build-list.yml | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/.github/workflows/build-list.yml b/.github/workflows/build-list.yml index 0c4e7590..2dca46c3 100644 --- a/.github/workflows/build-list.yml +++ b/.github/workflows/build-list.yml @@ -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: |