From d4f05f304a313a6261c9c5ad513673afa87a4ffa Mon Sep 17 00:00:00 2001 From: oberrich Date: Fri, 10 Jan 2025 09:31:49 +0100 Subject: [PATCH] chore: improve ci powershell --- .github/workflows/rust.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 0ef6f6b..68b6342 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -77,7 +77,7 @@ jobs: Log "Downloading $($dep.Name) from '$($dep.Url)'..." $install_file = Join-Path "${{ github.workspace }}" (Split-Path $dep.Url -Leaf) Invoke-WebRequest -Uri $dep.Url -OutFile $install_file - } else { + } elseif ($dep.Url -ne $null) { Log "Using local files from '$($dep.Url)'..." $install_file = $dep.Url }