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 bb743ac commit c698bc1
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 @@ -35,7 +35,8 @@ jobs:
steps:
- id: matrix
run: |
JSON=$(cat << EOF | jq -c '[foreach .[] as $platform (0; foreach $platform.policies.[] as $policy (0; {policy: $policy, platform: $platform.platform, runner: $platform.runner}))]'
QUERY='[foreach .[] as $platform (0; foreach $platform.policies.[] as $policy (0; {policy: $policy, platform: $platform.platform, runner: $platform.runner}))]'
JSON=$(cat << EOF | jq -c "${QUERY}"
[
{"platform": "x86_64", "runner": "ubuntu-22.04", "policies": ["manylinux2014", "manylinux_2_28", "manylinux_2_34", "musllinux_1_2"]},
{"platform": "aarch64", "runner": "ubuntu-22.04", "policies": ["manylinux2014", "manylinux_2_28", "manylinux_2_34", "musllinux_1_2"]},
Expand Down

0 comments on commit c698bc1

Please sign in to comment.