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 51cbf55 commit 1725876
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,18 +60,12 @@ jobs:
run: |
$progressPreference = 'silentlyContinue'
@(
@{ 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 = '${{github.workspace}}Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle' }
@{ Url = 'https://aka.ms/Microsoft.VCLibs.arm64.14.00.Desktop.appx' },
@{ Url = '${{github.workspace}}/Microsoft.UI.Xaml.2.8.arm64.appx' },
@{ Url = '${{github.workspace}}/Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle' }
) | ForEach-Object {
$dep = $_
if ($dep.Url -ne $null) {
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 from `$_.Url`..."
Add-AppxPackage -Path $_.Url
}
Repair-WinGetPackageManager -IncludePrerelease
Expand Down

0 comments on commit 1725876

Please sign in to comment.