Skip to content

Commit

Permalink
chore: use nushell in ci
Browse files Browse the repository at this point in the history
oberrich committed Jan 10, 2025
1 parent 67fbf14 commit 71b3811
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -62,16 +62,16 @@ jobs:
@(
@{ Url = 'https://aka.ms/Microsoft.VCLibs.arm64.14.00.Desktop.appx'; Out = 'Microsoft.VCLibs.arm64.14.00.Desktop.appx' },
@{ Url = 'https://github.com/microsoft/microsoft-ui-xaml/releases/download/v2.8.6/Microsoft.UI.Xaml.2.8.arm64.appx'; Out = 'Microsoft.UI.Xaml.2.8.arm64.appx' },
@{ Url = $null; Out = 'Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle' }
@{ Url = $null; Out = '${{github.workspace}}Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle' }
) | ForEach-Object {
$dep = $_
if ($dep.Url -ne $null) {
Write-Host "Downloading $($dep.Out)..."
Invoke-WebRequest -Uri $dep.Url -OutFile $dep.Out -UseBasicParsing
Write-Host "Installing package from URL `$($dep.Url)`..."
Add-AppxPackage -Path $dep.Url
} else {
Write-Host "Installing package from `$($dep.Out)`..."
Add-AppxPackage -Path $dep.Out
}
Write-Host "Installing package `$($dep.Out)`..."
Add-AppxPackage -Path $dep.Out
}
Repair-WinGetPackageManager -IncludePrerelease

0 comments on commit 71b3811

Please sign in to comment.