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 5678bc6 commit 59a8cc0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ jobs:
name: build matrix
run: |
jq --version
QUERY='[foreach .[] as $platform (0; foreach $platform.policies.[] as $policy (0; {policy: $policy, platform: $platform.platform, runner: $platform.runner}))]'
QUERY='[foreach .[] as $platform (0;0;foreach $platform.policies.[] as $policy (0;0;{policy: $policy, platform: $platform.platform, runner: $platform.runner}))]'
echo "${QUERY}"
JSON=$(cat << EOF | jq -c "${QUERY}"
[
{"platform": "x86_64", "runner": "ubuntu-22.04", "policies": ["manylinux2014", "manylinux_2_28", "manylinux_2_34", "musllinux_1_2"]},
Expand Down

0 comments on commit 59a8cc0

Please sign in to comment.