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 80
80
./builders/build-python.ps1 -Version $env:VERSION `
81
81
-Platform ${{ matrix.platform }} -Architecture ${{ matrix.arch }}
82
82
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
83
91
- name : Publish artifact
84
92
uses : actions/upload-artifact@v3
85
93
with :
92
100
fail-fast : false
93
101
matrix :
94
102
include : ${{ fromJson(needs.generate_matrix.outputs.matrix) }}
95
- # exclude:
96
- # - os: windows-2019
97
- # arch: arm64
98
103
runs-on : ${{ matrix.os }}
99
104
env :
100
105
ARTIFACT_NAME : python-${{ inputs.VERSION || '3.11.0' }}-${{ matrix.platform }}-${{ matrix.arch }}
You can’t perform that action at this time.
0 commit comments