Skip to content

Commit

Permalink
ci: fix windows download method
Browse files Browse the repository at this point in the history
  • Loading branch information
tsuyoshicho committed Dec 31, 2024
1 parent 4a43430 commit 563a6fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/buildtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ jobs:
if (Test-Path $zip) {
Write-Host cache hit
} else {
(New-Object Net.WebClient).DownloadFile('${{ steps.files.outputs.url }}', $zip)
Invoke-WebRequest '${{ steps.files.outputs.url }}' -UserAgent 'pwsh' -OutFile $zip
}
[Reflection.Assembly]::LoadWithPartialName('System.IO.Compression.FileSystem') > $null
[System.IO.Compression.ZipFile]::ExtractToDirectory($zip, $lua)
Expand Down

0 comments on commit 563a6fe

Please sign in to comment.