Skip to content

Commit

Permalink
chore: use powershell in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
oberrich committed Jan 10, 2025
1 parent e27ac5c commit bd1f5a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
)
$installs | ForEach-Object {
if ($_.Url) {
if ($_.Url -ne $null) {
Log "Downloading $($_.Name) from $($_.Url)..."
$install_file = Join-Path ${{github.workspace}} (Split-Path $_.Url -Leaf)
Invoke-WebRequest -Uri $_.Url -OutFile $install_file
Expand All @@ -102,7 +102,7 @@ jobs:
Log "No hash specified for $($_.Name). Skipping hash verification."
}
}
Log "Starting installation of $($_.Name)..."
try {
& $_.Action > $null 2>&1
Expand Down

0 comments on commit bd1f5a7

Please sign in to comment.