From bd1f5a7e14e2764c608da407c7b00944617b54da Mon Sep 17 00:00:00 2001 From: oberrich Date: Fri, 10 Jan 2025 08:08:25 +0100 Subject: [PATCH] chore: use powershell in ci --- .github/workflows/rust.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index d1292d9..3d557a0 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -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 @@ -102,7 +102,7 @@ jobs: Log "No hash specified for $($_.Name). Skipping hash verification." } } - + Log "Starting installation of $($_.Name)..." try { & $_.Action > $null 2>&1