Skip to content

Commit cf63a38

Browse files
committed
Use native Invoke-Webrequest
1 parent 792be79 commit cf63a38

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/windows-arm.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,15 @@ jobs:
3636

3737
- name: Download, install 7zip.
3838
run: |
39-
wget https://www.7-zip.org/a/7z2409-arm64.exe -OutFile 7z_arm.exe
39+
Invoke-WebRequest https://www.7-zip.org/a/7z2409-arm64.exe -UseBasicParsing -OutFile 7z_arm.exe
4040
Start-Process -FilePath ".\7z_arm.exe" -ArgumentList "/S" -Wait
4141
echo "C:\Program Files\7-Zip" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
4242
4343
- name: Download and install LLVM installer
4444
run: |
45-
curl -L -o LLVM-woa64.exe https://github.com/llvm/llvm-project/releases/download/llvmorg-19.1.5/LLVM-19.1.5-woa64.exe
45+
Invoke-WebRequest https://github.com/llvm/llvm-project/releases/download/llvmorg-19.1.5/LLVM-19.1.5-woa64.exe -UseBasicParsing -OutFile LLVM-woa64.exe
4646
Start-Process -FilePath ".\LLVM-woa64.exe" -ArgumentList "/S" -Wait
47-
$llvmPath = "C:\Program Files\LLVM\bin"
48-
echo "$llvmPath" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
47+
echo "C:\Program Files\LLVM\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
4948
5049
- name: Update CMake for WoA
5150
run: |

0 commit comments

Comments
 (0)