File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 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 :
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 }}
You can’t perform that action at this time.
0 commit comments