Skip to content

Commit

Permalink
add debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-shibanov committed Dec 20, 2023
1 parent d77c5fc commit f2d383d
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/build-python-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,14 @@ jobs:
./builders/build-python.ps1 -Version $env:VERSION `
-Platform ${{ matrix.platform }} -Architecture ${{ matrix.arch }}
- name: Prepare matrix
shell: pwsh
run: |
$matrix = ${{ fromJson(needs.generate_matrix.outputs.matrix) }} | ConvertFrom-Json
Write-Host matrix is $matrix
$matrix.data.entities = $matrix.data.entities | Where-Object {$_.arch -NotMatch "arm64" -and $_.os -NotMatch "windows-2019"}
Write-Host matrix after changes is $matrix
echo "matrixExcluded=$($matrix | ConvertTo-Json -Compress -AsArray)" >> $env:GITHUB_OUTPUT
- name: Publish artifact
uses: actions/upload-artifact@v3
with:
Expand All @@ -92,9 +100,6 @@ jobs:
fail-fast: false
matrix:
include: ${{ fromJson(needs.generate_matrix.outputs.matrix) }}
# exclude:
# - os: windows-2019
# arch: arm64
runs-on: ${{ matrix.os }}
env:
ARTIFACT_NAME: python-${{ inputs.VERSION || '3.11.0' }}-${{ matrix.platform }}-${{ matrix.arch }}
Expand Down

0 comments on commit f2d383d

Please sign in to comment.