-
Notifications
You must be signed in to change notification settings - Fork 8k
Closed
Labels
actionsbugSomething isn't workingSomething isn't workinghelp wantedContributions welcomeContributions welcomepriority-3Affects a small number of users or is largely cosmeticAffects a small number of users or is largely cosmetic
Description
Describe the bug
When trying to download large artifacts with gh run download, the command failed due to the size_in_bytes being typed as uint32. The artifacts I wanted to download were larger than the maximum value of a uint32.
Version:
gh version 1.11.0 (2021-06-03)
https://github.com/cli/cli/releases/tag/v1.11.0
Steps to reproduce the behavior
- Run
gh run downloadon a pull-request with large artifacts, for examplegh run download 956986699 -R homebrew/homebrew-corewhich matches this github Actions run. - See error
error fetching artifacts: error parsing JSON: json: cannot unmarshal number 4744865688 into Go struct field Artifact.Artifacts.size_in_bytes of type uint32
Expected vs actual behavior
I would expect to be able to download artifacts of any size.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
actionsbugSomething isn't workingSomething isn't workinghelp wantedContributions welcomeContributions welcomepriority-3Affects a small number of users or is largely cosmeticAffects a small number of users or is largely cosmetic