Skip to content

Commit 1e1ebd5

Browse files
committed
chore: use nushell in ci
1 parent b2404f2 commit 1e1ebd5

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/rust.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,8 @@ jobs:
4545
if: matrix.os == 'windows-11-preview_aarch64'
4646
shell: powershell
4747
run: |
48-
Invoke-WebRequest -Uri "https://github.com/microsoft/winget-cli/releases/latest/download/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle"
49-
-OutFile "$env:RUNNER_TEMP\Microsoft.DesktopAppInstaller.msixbundle"
50-
Add-AppxPackage -Path "$env:RUNNER_TEMP\Microsoft.DesktopAppInstaller.msixbundle"
51-
Remove-Item -Path "$env:RUNNER_TEMP\Microsoft.DesktopAppInstaller.msixbundle" -Force
52-
Repair-WinGetPackageManager -IncludePrerelease
48+
Install-Script -Name winget-install
49+
winget-install
5350
5451
winget install nushell
5552
"C:\Program Files\nu\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append

0 commit comments

Comments
 (0)