upload-release-assets icon indicating copy to clipboard operation
upload-release-assets copied to clipboard

upload of an empty file fails

Open wez opened this issue 5 years ago • 1 comments

Why would you even do that? To test that the workflow is doing the right thing :) Uploading an empty file leads to an obscure error about the size field being missing, which was a bit of a head scratcher for me for a while.

It would be nice to have a more positive error message, or just to note this in the docs.

Or you can just close this as "don't do that!" :-)

wez avatar Dec 30 '19 01:12 wez

Good suggestion @wez. I think it makes sense to output a warning but continue successfully. Will look at including in the next release.

AButler avatar Jan 06 '20 15:01 AButler