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 8493215 commit f8e4cf2
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,9 @@ 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 -ErrorAction SilentlyContinue
winget install -e --id Nushell.Nushell -v 0.101.0 --override "ALLUSERS=1" --accept-package-agreements --accept-source-agreements --disable-interactivity --silent
# Define the log file path using a glob pattern
$logPattern = "C:\Users\runneradmin\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir\WinGet-Nushell.Nushell*.log"
# Get the most recent log file matching the pattern (if there are multiple matches)
$logFile = Get-ChildItem -Path $logPattern | Sort-Object LastWriteTime -Descending | Select-Object -First 1
# Output the log file contents
Expand Down

0 comments on commit f8e4cf2

Please sign in to comment.