From 22a708c37c513add8ed055be0b533ddeafda0318 Mon Sep 17 00:00:00 2001 From: oberrich Date: Fri, 10 Jan 2025 07:31:05 +0100 Subject: [PATCH] chore: use nushell 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 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)..."