Download artifacts from a different repo with gh cli #10691
DmitryLukyanov
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Looking at this documentation: https://docs.github.com/en/rest/actions/artifacts?apiVersion=2022-11-28#download-an-artifact
I can use curl version of the provided example:
notice: output argument. this code downloads the artifacts and save it as a zip file. However I want to use github cli for this purpose (login has been successful):
As far as I understand, this code just prints only text representation of the binary file since I see a plain text in the output and it is related to my artifacts. But how to save this output into the binary zip file, just redirecting output
.. > res.zipdoesn't work (save corrupted file). I also don't see arguments in theghbinary that can help with thisBeta Was this translation helpful? Give feedback.
All reactions