AButler / upload-release-assets

GitHub Action to upload assets to a Release
MIT License
57 stars 20 forks source link

upload of an empty file fails #2

Open wez opened 4 years ago

wez commented 4 years ago

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!" :-)

AButler commented 4 years ago

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