upload-release-asset
upload-release-asset copied to clipboard
no error reporting
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.
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
https://github.com/actions/upload-release-asset/issues/13 would help with this
edit: I tried that PR and the errors are still inscrutable.
Getting this error trying to upload a .txt file
Oh, it worked with files from the repo. But not with a file I created using touch
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 ...
FY'all, I had the same problem and found that my file was 0 bytes. Hope that helps someone.
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