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 812d5a8 commit 4c23031
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,18 +82,12 @@ jobs:
)
$packages | ForEach-Object {
Write-Host "Installing package: $(Split-Path $_ -Leaf)"
Write-Host "Installing package: $(Split-Path $_ -LeafBase)"
Add-AppxPackage $_ -Verbose
}
Write-Host "Installing nushell..."
# Define the URL for the MSI package
$msiUrl = "https://github.com/nushell/nushell/releases/download/0.101.0/nu-0.101.0-aarch64-pc-windows-msvc.msi"
$msiPath = "$env:TEMP\nu-0.101.0-aarch64-pc-windows-msvc.msi"
Invoke-WebRequest -Uri $msiUrl -OutFile $msiPath
Start-Process msiexec.exe -ArgumentList "/i", $msiPath, "/qn", "/L*v", "$env:TEMP\nu_install.log" -Wait
Get-Content "$env:TEMP\nu_install.log" -Tail 150
winget install -e --id Nushell.Nushell -v 0.101.0 --accept-package-agreements --accept-source-agreements --silent
- name: Use nushell
if: matrix.os == 'windows-11-preview_aarch64'
run: |
Expand Down

0 comments on commit 4c23031

Please sign in to comment.