Skip to content

Commit 360dcf2

Browse files
authored
Update main.yml
1 parent f4b1c34 commit 360dcf2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,9 @@ jobs:
4343
FILTERED=$(./jq --slurp -c -r . <<< "$FILTERED")
4444
./jq -e . <<< "$FILTERED"
4545
echo "computing groups"
46-
./jq -c -r '. as $jobs | map(.config | split(".") | first) | unique' <<< "$FILTERED"
47-
./jq '. as $jobs | map(.config | split(".") | first) | unique | map(. as $group | {"platform": $group, "jobs": $jobs | map(select(.config |startswith($group)))})' <<< "$FILTERED"
46+
./jq -c '. as $jobs | map(.config | split(".") | first) | unique | map(. as $group | {"platform": $group, "jobs": $jobs | map(select(.config |startswith($group)))})' <<< "$FILTERED"
47+
echo $?
48+
echo "Lets build groups..."
4849
GROUPS=$(./jq '. as $jobs | map(.config | split(".") | first) | unique | map(. as $group | {"platform": $group, "jobs": $jobs | map(select(.config |startswith($group)))})' <<< "$FILTERED")
4950
echo "groups..."
5051
if ./jq -e . <<< "$GROUPS" > /dev/null 2>&1; then # JSON validation

0 commit comments

Comments
 (0)