File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -238,7 +238,7 @@ jobs:
238238 - name : Test Wheel
239239 if : " github.event_name != 'pull_request'"
240240 run : |
241- docker run --rm -v ${env:GITHUB_WORKSPACE}:C:\pillow mcr.microsoft.com/windows/servercore:ltsc2022 powershell C:\pillow\winbuild\test_docker.ps1 ${{ matrix.python-version }} ${{ matrix.architecture }}
241+ docker run --rm -v ${env:GITHUB_WORKSPACE}:C:\pillow mcr.microsoft.com/windows/servercore:ltsc2022 powershell C:\pillow\winbuild\test_docker.ps1 ${{ matrix.python-version }}
242242 shell : pwsh
243243
244244 - name : Upload wheel
Original file line number Diff line number Diff line change 1- param ([string ]$python , [ string ] $arch )
1+ param ([string ]$python )
22$ErrorActionPreference = ' Stop'
33$ProgressPreference = ' SilentlyContinue'
44if ($python -like " pypy*" ) {
@@ -10,8 +10,7 @@ if ($python -like "pypy*") {
1010 tar - xf ' pypy.zip'
1111 mv pypy*- win64 C:\Python
1212} else {
13- $suffix = if ($arch -eq " x64" ) {" -amd64" } else {" " }
14- $url = ' https://www.python.org/ftp/python/{0}.0/python-{0}.0{1}.exe' -f ($python , $suffix )
13+ $url = ' https://www.python.org/ftp/python/{0}.0/python-{0}.0-amd64.exe' -f $python
1514 [Net.ServicePointManager ]::SecurityProtocol = [Net.SecurityProtocolType ]::Tls12
1615 Invoke-WebRequest - Uri $url - OutFile ' setup.exe'
1716 Start-Process setup.exe - Wait - NoNewWindow - PassThru - ArgumentList @ (
You can’t perform that action at this time.
0 commit comments