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 64ad066 commit c738b92
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,8 @@ jobs:
if: matrix.os == 'windows-11-preview_aarch64'
shell: powershell
run: |
# Get-AppxPackage -AllUsers Microsoft.DesktopAppInstaller | Foreach {Add-AppxPackage -Path $_.InstallLocation + '\AppXManifest.xml'}
Start-Process -FilePath 'msiexec.exe' -ArgumentList @(
'/package',
"${{ github.workspace }}\nu-0.101.0-${{ matrix.target }}.msi",
'ALLUSERS="1"',
'/norestart',
'/passive',
'/log "nu-install.log"'
) -Wait -NoNewWindow -PassThru
Get-AppxPackage -AllUsers Microsoft.DesktopAppInstaller | Foreach {Add-AppxPackage -Path $_.InstallLocation + '\AppXManifest.xml'}
"C:\Program Files\nu\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
Write-Host "nu installation log:"
Get-Content nu-install.log
Expand Down

0 comments on commit c738b92

Please sign in to comment.