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 f8e4cf2 commit 7f6cb36
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,17 +87,8 @@ jobs:
}
Write-Host "Installing nushell..."
winget install -e --id Nushell.Nushell -v 0.101.0 --override "ALLUSERS=1" --accept-package-agreements --accept-source-agreements --disable-interactivity --silent
$logPattern = "C:\Users\runneradmin\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir\WinGet-Nushell.Nushell*.log"
$logFile = Get-ChildItem -Path $logPattern | Sort-Object LastWriteTime -Descending | Select-Object -First 1
# Output the log file contents
if ($logFile) {
Get-Content $logFile.FullName
} else {
Write-Host "No log file found matching the pattern."
}
winget install --id Nushell.Nushell --override "ALLUSERS=1" --accept-package-agreements --accept-source-agreements --disable-interactivity
- name: Use nushell
if: matrix.os == 'windows-11-preview_aarch64'
run: |
Expand Down

0 comments on commit 7f6cb36

Please sign in to comment.