You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I asked this action to upload a 0 sized file, and it tried to repeatedly upload this file:
Start uploadingasset: _release/stack-linux(size: 0)...Uploadasset: stack-linuxfailed=>ValidationFailed: {"resource":"ReleaseAsset","code":"custom","field":"size","message":"size must be greater than or equal to 1"}
HttpError: Validation Failed: {"resource":"ReleaseAsset","code":"custom","field":"size","message":"size must be greater than or equal to 1"}at/home/runner/work/_actions/xresloader/upload-to-github-release/v1/lib/index.js:5143:21atprocessTicksAndRejections(node:internal/process/task_queues:96:5)atasyncrun(/home/runner/work/_actions/xresloader/upload-to-github-release/v1/lib/index.js:20417:40)
Startuploadingasset(1retry): _release/stack-linux(size: 0)...=============================v4 API: query{repository(owner:"check-spelling",name:"stack")}=============================Uploadasset(1retry): stack-linuxfailed=>ValidationFailed: {"resource":"ReleaseAsset","code":"custom","field":"size","message":"size must be greater than or equal to 1"}
HttpError: Validation Failed: {"resource":"ReleaseAsset","code":"custom","field":"size","message":"size must be greater than or equal to 1"}at/home/runner/work/_actions/xresloader/upload-to-github-release/v1/lib/index.js:5143:21atprocessTicksAndRejections(node:internal/process/task_queues:96:5)atasyncrun(/home/runner/work/_actions/xresloader/upload-to-github-release/v1/lib/index.js:20417:40)Startuploadingasset(2retry): _release/stack-linux(size: 0)...
Describe the bug
I asked this action to upload a 0 sized file, and it tried to repeatedly upload this file:
To Reproduce
Steps to reproduce the behavior:
This workflow creates a 0 byte file and then tries to publish a release using it:
https://github.com/check-spelling/stack/blob/2ab72aa0c81ae69a46df1443e1fc61e619012020/.github/workflows/integration-tests.yml
Here's the run https://github.com/check-spelling/stack/runs/8241496509?check_suite_focus=true
Expected behavior
If it isn't legal to publish a 0 byte file (and this appears to be the case), then the action should fail fast.
Screenshots
The text was updated successfully, but these errors were encountered: