mirror of
https://github.com/actions/python-versions.git
synced 2025-12-14 22:46:43 +00:00
Update build-python-packages.yml
This commit is contained in:
5
.github/workflows/build-python-packages.yml
vendored
5
.github/workflows/build-python-packages.yml
vendored
@@ -36,8 +36,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Install PowerShell
|
- name: Install PowerShell
|
||||||
shell: bash
|
- run: |
|
||||||
run: |
|
|
||||||
Set-ExecutionPolicy Bypass -Scope Process -Force
|
Set-ExecutionPolicy Bypass -Scope Process -Force
|
||||||
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072
|
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072
|
||||||
iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
|
iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
|
||||||
@@ -45,7 +44,7 @@ jobs:
|
|||||||
choco install -y git.install
|
choco install -y git.install
|
||||||
'C:\Program Files\PowerShell\7\' | Out-File $env:GITHUB_PATH -Append
|
'C:\Program Files\PowerShell\7\' | Out-File $env:GITHUB_PATH -Append
|
||||||
'C:\Program Files\Git\bin' | Out-File $env:GITHUB_PATH -Append
|
'C:\Program Files\Git\bin' | Out-File $env:GITHUB_PATH -Append
|
||||||
|
shell: powershell
|
||||||
|
|
||||||
generate_matrix:
|
generate_matrix:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
Reference in New Issue
Block a user