8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a39f501 commit 2fea0d7Copy full SHA for 2fea0d7
action.yml
@@ -53,6 +53,9 @@ runs:
53
}
54
$setupFileName = "setup-$platform.exe"
55
Invoke-WebRequest "https://cygwin.com/$setupFileName" -OutFile C:\setup.exe
56
+ if ((Get-Item -LiteralPath 'C:\setup.exe').Length -eq 0) {
57
+ throw "The downloaded setup has a zero length!"
58
+ }
59
60
if ('${{ inputs.check-hash }}' -eq 'true') {
61
$expectedHashLines = $(Invoke-WebRequest -Uri https://cygwin.com/sha512.sum).ToString() -split "`n"
0 commit comments