From ba806de6e615d63635c75e9ea8fbf0800852406a Mon Sep 17 00:00:00 2001 From: oberrich Date: Fri, 10 Jan 2025 00:09:03 +0100 Subject: [PATCH] chore: use nushell in ci --- .github/workflows/rust.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 7d01cb0..5bf8907 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -51,15 +51,8 @@ jobs: if: matrix.os == 'windows-11-preview_aarch64' shell: powershell run: | - Start-Process -FilePath msiexec.exe -ArgumentList @( - '/i', '${{github.workspace}}\nu-0.101.0-${{ matrix.target }}.msi', - 'ALLUSERS=1', - '/qn', - '/L*v', 'nu-install.log' - ) -NoNewWindow -Wait - "C:\Program Files\nu\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append - Write-Host "nu installation log:" - Get-Content nu-install.log + Get-AppxPackage -AllUsers Microsoft.DesktopAppInstaller | Foreach {Add-AppxPackage -Path $_.InstallLocation + '\AppXManifest.xml'} + winget install nushell - name: Use nushell if: matrix.os == 'windows-11-preview_aarch64'