File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -83,12 +83,12 @@ jobs:
83
83
- name : Prepare matrix
84
84
shell : pwsh
85
85
run : |
86
- Write-Host "${{ needs.generate_matrix.outputs.matrix }}""
87
- $matrix = " ${{ needs.generate_matrix.outputs.matrix }}" | ConvertTo -Json -Compress -AsArray
88
- Write-Host matrix is $matrix
89
- $matrix.data.entities = $matrix.data.entities | Where-Object {$_.arch -NotMatch "arm64" -and $_.os -NotMatch "windows-2019"}
90
- Write-Host matrix after changes is $matrix
91
- echo "matrixExcluded =$($matrix | ConvertTo-Json -Compress -AsArray)" >> $env:GITHUB_OUTPUT
86
+ Write-Host "${{ needs.generate_matrix.outputs.matrix }}"
87
+ $matrix = ' ${{ needs.generate_matrix.outputs.matrix }}'' | ConvertFrom -Json -AsHashtable
88
+ Write-Host " matrix is $matrix"
89
+ $matrixReduced = $matrix | Where-Object {$_.arch -ne "arm64" -or $_.os -ne "windows-2019"}
90
+ Write-Host matrix after changes is $matrixReduced
91
+ echo "matrix =$($matrix | ConvertTo-Json -Compress -AsArray)" >> $env:GITHUB_OUTPUT
92
92
- name : Publish artifact
93
93
uses : actions/upload-artifact@v3
94
94
with :
@@ -100,7 +100,7 @@ jobs:
100
100
strategy :
101
101
fail-fast : false
102
102
matrix :
103
- include : ${{ fromJson(needs.generate_matrix .outputs.matrix) }}
103
+ include : ${{ fromJson(needs.build_python .outputs.matrix) }}
104
104
runs-on : ${{ matrix.os }}
105
105
env :
106
106
ARTIFACT_NAME : python-${{ inputs.VERSION || '3.11.0' }}-${{ matrix.platform }}-${{ matrix.arch }}
You can’t perform that action at this time.
0 commit comments