Skip to content

Commit 247b1a5

Browse files
authored
Fix missing PyPI wheels (#993)
Fix for jq skipping first line `input` Outputs one new input. `inputs` Outputs all remaining inputs, one by one. pypa/cibuildwheel#1261 (reply in thread)
1 parent 7df9812 commit 247b1a5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,9 @@ jobs:
8585
run: |
8686
MATRIX_INCLUDE=$(
8787
{
88-
cibuildwheel --print-build-identifiers --platform linux --arch x86_64,aarch64 | grep cp | jq -Rc '{"only": inputs, "os": "ubuntu-latest"}' \
89-
&& cibuildwheel --print-build-identifiers --platform macos --arch x86_64,arm64 | grep cp | jq -Rc '{"only": inputs, "os": "macos-latest"}' \
90-
&& cibuildwheel --print-build-identifiers --platform windows --arch x86,AMD64 | grep cp | jq -Rc '{"only": inputs, "os": "windows-latest"}'
88+
cibuildwheel --print-build-identifiers --platform linux --arch x86_64,aarch64 | grep cp | jq -nRc '{"only": inputs, "os": "ubuntu-latest"}' \
89+
&& cibuildwheel --print-build-identifiers --platform macos --arch x86_64,arm64 | grep cp | jq -nRc '{"only": inputs, "os": "macos-latest"}' \
90+
&& cibuildwheel --print-build-identifiers --platform windows --arch x86,AMD64 | grep cp | jq -nRc '{"only": inputs, "os": "windows-latest"}'
9191
} | jq -sc
9292
)
9393
echo "include=$MATRIX_INCLUDE" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)