Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mayeut committed Nov 24, 2024
1 parent 59a8cc0 commit bb4c36f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
name: build matrix
run: |
jq --version
QUERY='[foreach .[] as $platform (0;0;foreach $platform.policies.[] as $policy (0;0;{policy: $policy, platform: $platform.platform, runner: $platform.runner}))]'
QUERY='reduce .[] as $platform ([]; . += reduce $platform.policies.[] as $policy ([];. += [{policy: $policy, platform: $platform.platform, runner: $platform.runner}]))'
echo "${QUERY}"
JSON=$(cat << EOF | jq -c "${QUERY}"
[
Expand Down

0 comments on commit bb4c36f

Please sign in to comment.