Update build-python-packages.yml

This commit is contained in:
aparnajyothi-y
2024-05-29 15:19:31 +05:30
committed by GitHub
parent 10da5bd845
commit 567e9060f4

View File

@@ -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: