Skip to content

Commit

Permalink
chore: use nushell in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
oberrich committed Jan 10, 2025
1 parent 1f71b64 commit 21d9aff
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,15 @@ jobs:
if: matrix.os == 'windows-11-preview_aarch64'
shell: powershell
run: |
Start-Process -FilePath (Invoke-WebRequest -Uri "https://aka.ms/vs/16/release/vc_redist.arm64.exe" -OutFile "$env:RUNNER_TEMP\vc_redist.arm64.exe"; "$env:RUNNER_TEMP\vc_redist.arm64.exe") -ArgumentList "/quiet", "/norestart" -Wait
# Install vc_redist
Invoke-WebRequest -Uri "https://aka.ms/vs/16/release/vc_redist.arm64.exe" -OutFile "$env:RUNNER_TEMP\vc_redist.arm64.exe"
Start-Process -FilePath "$env:RUNNER_TEMP\vc_redist.arm64.exe" -ArgumentList "/quiet", "/norestart" -Wait
# Install UI.Xaml.2.8 dependency
Write-Host "Starting package installation for Microsoft.UI.Xaml.2.8.arm64"
Add-AppxPackage ${{github.workspace}}\Microsoft.UI.Xaml.2.8.arm64.appx
Write-Host "Starting package installation for Microsoft.DesktopAppInstaller_8wekyb3d8bbwe"
$msixBundlePath = "${{github.workspace}}\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle"
Add-AppxPackage -Path $msixBundlePath
Remove-Item -Path $msixBundlePath -Force
Add-AppxPackage -Path '${{github.workspace}}\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle'
Remove-Item -Path '${{github.workspace}}\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle' -Force
Repair-WinGetPackageManager -IncludePrerelease
winget install nushell --accept-package-agreements --accept-source-agreements
Expand Down

0 comments on commit 21d9aff

Please sign in to comment.