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 }