Skip to content

Commit bb4c36f

Browse files
committed
Update build.yml
1 parent 59a8cc0 commit bb4c36f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
name: build matrix
3838
run: |
3939
jq --version
40-
QUERY='[foreach .[] as $platform (0;0;foreach $platform.policies.[] as $policy (0;0;{policy: $policy, platform: $platform.platform, runner: $platform.runner}))]'
40+
QUERY='reduce .[] as $platform ([]; . += reduce $platform.policies.[] as $policy ([];. += [{policy: $policy, platform: $platform.platform, runner: $platform.runner}]))'
4141
echo "${QUERY}"
4242
JSON=$(cat << EOF | jq -c "${QUERY}"
4343
[

0 commit comments

Comments
 (0)