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