diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 4470c61..cd2cb5a 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -72,8 +72,8 @@ jobs: $installs | ForEach-Object { if ($_.Url -ne $null) { - Write-Host "Downloading $($_.Name) from $($_.Url)..." - Invoke-WebRequest -Uri $_.Url -OutFile "${{github.workspace}}\" + (Split-Path $_.Url -Leaf) + Write-Host "Downloading $_.Name from $_.Url..." + Invoke-WebRequest -Uri $_.Url -OutFile ("${{github.workspace}}\" + (Split-Path $_.Url -Leaf)) } Log "Starting installation of $($_.Name)..."