Skip to content

Commit f2d383d

Browse files
add debug logs
1 parent d77c5fc commit f2d383d

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/build-python-packages.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,14 @@ jobs:
8080
./builders/build-python.ps1 -Version $env:VERSION `
8181
-Platform ${{ matrix.platform }} -Architecture ${{ matrix.arch }}
8282
83+
- name: Prepare matrix
84+
shell: pwsh
85+
run: |
86+
$matrix = ${{ fromJson(needs.generate_matrix.outputs.matrix) }} | ConvertFrom-Json
87+
Write-Host matrix is $matrix
88+
$matrix.data.entities = $matrix.data.entities | Where-Object {$_.arch -NotMatch "arm64" -and $_.os -NotMatch "windows-2019"}
89+
Write-Host matrix after changes is $matrix
90+
echo "matrixExcluded=$($matrix | ConvertTo-Json -Compress -AsArray)" >> $env:GITHUB_OUTPUT
8391
- name: Publish artifact
8492
uses: actions/upload-artifact@v3
8593
with:
@@ -92,9 +100,6 @@ jobs:
92100
fail-fast: false
93101
matrix:
94102
include: ${{ fromJson(needs.generate_matrix.outputs.matrix) }}
95-
# exclude:
96-
# - os: windows-2019
97-
# arch: arm64
98103
runs-on: ${{ matrix.os }}
99104
env:
100105
ARTIFACT_NAME: python-${{ inputs.VERSION || '3.11.0' }}-${{ matrix.platform }}-${{ matrix.arch }}

0 commit comments

Comments
 (0)