Skip to content

Commit 3d10c05

Browse files
committed
Split long command over lines, like in linux.yml
1 parent 2181bdd commit 3d10c05

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.github/workflows/macos.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,11 @@ jobs:
9090
- name: Generate build matrix
9191
id: set-matrix
9292
run: |
93-
uv run ci-matrix.py --platform darwin --labels "${STEPS_GET_LABELS_OUTPUTS_LABELS}" ${{ (steps.check-pythonbuild.outputs.changed == 'true' || github.ref == 'refs/heads/main') && '--force-crate-build' || '' }} > matrix.json
93+
uv run ci-matrix.py \
94+
--platform darwin \
95+
--labels "${STEPS_GET_LABELS_OUTPUTS_LABELS}" \
96+
${{ (steps.check-pythonbuild.outputs.changed == 'true' || github.ref == 'refs/heads/main') && '--force-crate-build' || '' }} \
97+
> matrix.json
9498
9599
# Extract python-build matrix
96100
echo "matrix=$(jq -c '."python-build"' matrix.json)" >> $GITHUB_OUTPUT

.github/workflows/windows.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,11 @@ jobs:
9090
- name: Generate build matrix
9191
id: set-matrix
9292
run: |
93-
uv run ci-matrix.py --platform windows --labels "${STEPS_GET_LABELS_OUTPUTS_LABELS}" ${{ (steps.check-pythonbuild.outputs.changed == 'true' || github.ref == 'refs/heads/main') && '--force-crate-build' || '' }} > matrix.json
93+
uv run ci-matrix.py \
94+
--platform windows \
95+
--labels "${STEPS_GET_LABELS_OUTPUTS_LABELS}" \
96+
${{ (steps.check-pythonbuild.outputs.changed == 'true' || github.ref == 'refs/heads/main') && '--force-crate-build' || '' }} \
97+
> matrix.json
9498
9599
# Extract python-build matrix
96100
echo "matrix=$(jq -c '."python-build"' matrix.json)" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)