Skip to content

Commit

Permalink
Install nextest without temporary file
Browse files Browse the repository at this point in the history
  • Loading branch information
ark0f committed Nov 1, 2024
1 parent b70f548 commit 3f32234
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-win-native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:

- name: "Install: cargo-nextest"
run: |
$tmp = New-TemporaryFile | Rename-Item -NewName { $_ -replace 'tmp$', 'zip' } -PassThru
$tmp = "cargo-nextest.zip"
Invoke-WebRequest -OutFile $tmp https://get.nexte.st/latest/windows
$outputDir = if ($Env:CARGO_HOME) { Join-Path $Env:CARGO_HOME "bin" } else { "~/.cargo/bin" }
$tmp | Expand-Archive -DestinationPath $outputDir -Force
Expand Down

0 comments on commit 3f32234

Please sign in to comment.