Skip to content

Commit 1c8d7a8

Browse files
committed
try this
1 parent efd6036 commit 1c8d7a8

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

.github/workflows/test-wheel-windows.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -114,12 +114,10 @@ jobs:
114114
7Z_URL: https://www.7-zip.org/a/7z2409-x64.msi
115115
run: |
116116
Invoke-WebRequest -Uri "$env:7Z_URL" -OutFile "7z_installer.msi"
117-
Start-Process msiexec.exe -Wait -Verbose -ArgumentList '/i "7z_installer.msi" /q INSTALLDIR="$((Get-Location).Path)\7-Zip"'
118-
#ls -l 7-Zip
119-
#Get-Location
120-
ls
121-
echo "$((Get-Location).Path)\7-Zip" >> $env:GITHUB_PATH
122-
$env:Path += ";$((Get-Location).Path)\7-Zip"
117+
Start-Process msiexec.exe -Wait -Verbose -ArgumentList '/i "7z_installer.msi" /q INSTALLDIR="C:\Program Files\7-Zip" /qn'
118+
ls -l "C:\\Program Files\7-Zip"
119+
echo "C:\\Program Files\7-Zip" >> $env:GITHUB_PATH
120+
$env:Path += ";C:\\Program Files\7-Zip"
123121
7z --version
124122
125123
- name: Install Git for Windows

0 commit comments

Comments
 (0)