mirror of
https://github.com/actions/python-versions.git
synced 2025-12-13 22:17:32 +00:00
Update build-python-packages.yml
This commit is contained in:
22
.github/workflows/build-python-packages.yml
vendored
22
.github/workflows/build-python-packages.yml
vendored
@@ -26,10 +26,22 @@ on:
|
||||
|
||||
env:
|
||||
VERSION: ${{ inputs.VERSION || '3.12.3' }}
|
||||
|
||||
defaults:
|
||||
run:
|
||||
shell: pwsh
|
||||
|
||||
jobs:
|
||||
|
||||
install_pwsh_git:
|
||||
runs-on: setup-actions-windows-arm64-4-core
|
||||
|
||||
steps:
|
||||
- name: Print runner OS
|
||||
run: echo Runner OS is ${{ runner.os }}
|
||||
- name: Setup Dependencies
|
||||
run: |
|
||||
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
|
||||
choco install pwsh git
|
||||
|
||||
generate_matrix:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -70,13 +82,7 @@ jobs:
|
||||
env:
|
||||
ARTIFACT_NAME: python-${{ inputs.VERSION || '3.12.3' }}-${{ matrix.platform }}-${{ matrix.arch }}
|
||||
steps:
|
||||
- name: Print runner OS
|
||||
run: echo Runner OS is ${{ runner.os }}
|
||||
- name: Setup Dependencies
|
||||
if: runner.os == 'setup-actions-windows-arm64-4-core'
|
||||
run: |
|
||||
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
|
||||
choco install pwsh git
|
||||
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user