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 9, 2025
1 parent ba806de commit ec8358a
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,21 @@ jobs:
if: matrix.os == 'windows-11-preview_aarch64'
shell: powershell
run: |
Get-AppxPackage -AllUsers Microsoft.DesktopAppInstaller | Foreach {Add-AppxPackage -Path $_.InstallLocation + '\AppXManifest.xml'}
winget install nushell
# Get-AppxPackage -AllUsers Microsoft.DesktopAppInstaller | Foreach {Add-AppxPackage -Path $_.InstallLocation + '\AppXManifest.xml'}
$msi = @{
FilePath = 'msiexec.exe'
ArgumentList = @(
'/i "${{github.workspace}}\nu-0.101.0-${{ matrix.target }}.msi" ALLUSERS="1"'
'/qn'
'/L*v 'nu-install.log''
)
Wait = $true
NoNewWindow = $true
}
"C:\Program Files\nu\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
Write-Host "nu installation log:"
Get-Content nu-install.log

- name: Use nushell
if: matrix.os == 'windows-11-preview_aarch64'
Expand Down

0 comments on commit ec8358a

Please sign in to comment.