From c738b9246c466a3be354e3dad1a983c34601aac4 Mon Sep 17 00:00:00 2001 From: oberrich Date: Fri, 10 Jan 2025 00:32:50 +0100 Subject: [PATCH] chore: use nushell in ci --- .github/workflows/rust.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index ca67aa6..7fbbb9d 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -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