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

no error reporting

Open Trass3r opened this issue 6 years ago • 7 comments

https://github.com/Trass3r/testgithubactionsrelease/runs/311506909

It prints Validation Failed no matter what actually happened. The token must be valid as create-release works.

Trass3r avatar Nov 20 '19 10:11 Trass3r

I have a similar issue. I am building linux, macos, and windows binaries and uploading all three. The lnux and macos upload fails with Validation Failed, and the windows upload fails with Socket hung up.

https://github.com/JoshMcguigan/estream/runs/318263639 https://github.com/JoshMcguigan/estream/runs/318263642

Oddly, it seems the actual files do show up on the release.

edit - It looks like in my case this was caused by the pipeline triggering multiple times, and the failure was because it was trying to upload files that already existed. I found a related issue on a different repo that discusses better surfacing this debug information.

https://github.com/prebuild/prebuild/issues/221

JoshMcguigan avatar Nov 24 '19 17:11 JoshMcguigan

https://github.com/actions/upload-release-asset/issues/13 would help with this

edit: I tried that PR and the errors are still inscrutable.

wez avatar Dec 29 '19 18:12 wez

Getting this error trying to upload a .txt file

GabrielBB avatar Aug 10 '20 15:08 GabrielBB

Oh, it worked with files from the repo. But not with a file I created using touch

GabrielBB avatar Aug 10 '20 19:08 GabrielBB

I have the same problem. Is there a way to upload a file that I just created inside CI? thanks

edit: as I understood in the examples, the uploading of a file created recently should work fine ... but no success here yet ...

xmnlab avatar Sep 22 '20 14:09 xmnlab

FY'all, I had the same problem and found that my file was 0 bytes. Hope that helps someone.

skibum55 avatar Oct 13 '20 16:10 skibum55

FY'all, I had the same problem and found that my file was 0 bytes. Hope that helps someone.

Ref https://github.com/eine/tip/issues/159

eine avatar Oct 13 '20 16:10 eine