diff --git a/.github/workflows/build-python-packages.yml b/.github/workflows/build-python-packages.yml index 90a2569e..eea7adfa 100644 --- a/.github/workflows/build-python-packages.yml +++ b/.github/workflows/build-python-packages.yml @@ -80,7 +80,14 @@ jobs: ./builders/build-python.ps1 -Version $env:VERSION ` -Platform ${{ matrix.platform }} -Architecture ${{ matrix.arch }} + - name: Publish artifact + uses: actions/upload-artifact@v3 + with: + name: ${{ env.ARTIFACT_NAME }} + path: ${{ runner.temp }}/artifact + - name: Prepare matrix + id: build-python shell: pwsh run: | Write-Host "${{ needs.generate_matrix.outputs.matrix }}" @@ -89,11 +96,6 @@ jobs: $matrixReduced = $matrix | Where-Object {$_.arch -ne "arm64" -or $_.os -ne "windows-2019"} Write-Host matrix after changes is $matrixReduced echo "matrixReduced=$($matrixReduced | ConvertTo-Json -Compress -AsArray)" >> $env:GITHUB_OUTPUT - - name: Publish artifact - uses: actions/upload-artifact@v3 - with: - name: ${{ env.ARTIFACT_NAME }} - path: ${{ runner.temp }}/artifact test_python: needs: [generate_matrix, build_python]