mirror of
https://github.com/actions/python-versions.git
synced 2025-12-15 06:56:43 +00:00
Update build-python-packages.yml
This commit is contained in:
14
.github/workflows/build-python-packages.yml
vendored
14
.github/workflows/build-python-packages.yml
vendored
@@ -31,11 +31,9 @@ defaults:
|
|||||||
shell: pwsh
|
shell: pwsh
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- name: Setup Dependencies
|
|
||||||
if: runner.os == 'windows-2019_arm64'
|
|
||||||
run: |
|
generate_matrix:
|
||||||
choco install pwsh git
|
|
||||||
generate_matrix:
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
outputs:
|
outputs:
|
||||||
matrix: ${{ steps.generate-matrix.outputs.matrix }}
|
matrix: ${{ steps.generate-matrix.outputs.matrix }}
|
||||||
@@ -63,7 +61,7 @@ generate_matrix:
|
|||||||
}
|
}
|
||||||
echo "matrix=$($matrix | ConvertTo-Json -Compress -AsArray)" >> $env:GITHUB_OUTPUT
|
echo "matrix=$($matrix | ConvertTo-Json -Compress -AsArray)" >> $env:GITHUB_OUTPUT
|
||||||
|
|
||||||
build_python:
|
build_python:
|
||||||
needs: generate_matrix
|
needs: generate_matrix
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
@@ -74,6 +72,10 @@ build_python:
|
|||||||
ARTIFACT_NAME: python-${{ inputs.VERSION || '3.12.3' }}-${{ matrix.platform }}-${{ matrix.arch }}
|
ARTIFACT_NAME: python-${{ inputs.VERSION || '3.12.3' }}-${{ matrix.platform }}-${{ matrix.arch }}
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
|
- name: Setup Dependencies
|
||||||
|
if: runner.os == 'windows-2019_arm64'
|
||||||
|
run: |
|
||||||
|
choco install pwsh git
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user