mirror of
https://github.com/actions/python-versions.git
synced 2025-12-14 06:26:45 +00:00
Update build-python-packages.yml
This commit is contained in:
18
.github/workflows/build-python-packages.yml
vendored
18
.github/workflows/build-python-packages.yml
vendored
@@ -31,6 +31,20 @@ defaults:
|
|||||||
shell: pwsh
|
shell: pwsh
|
||||||
|
|
||||||
jobs:
|
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
|
||||||
|
shell: bash
|
||||||
|
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 powershell git
|
||||||
|
|
||||||
generate_matrix:
|
generate_matrix:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
outputs:
|
outputs:
|
||||||
@@ -69,7 +83,7 @@ jobs:
|
|||||||
|
|
||||||
build_python:
|
build_python:
|
||||||
|
|
||||||
needs: generate_matrix
|
needs: [generate_matrix, install_Pwsh_git]
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
@@ -97,7 +111,7 @@ jobs:
|
|||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
||||||
test_python:
|
test_python:
|
||||||
needs: [generate_matrix, build_python]
|
needs: [generate_matrix, install_Pwsh_git, build_python]
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
|||||||
Reference in New Issue
Block a user