fix(run download): support non-zipped artifacts by AruneshDwivedi · Pull Request #13636 · cli/cli
Artifacts uploaded with archive: false are returned with Content-Type application/octet-stream instead of application/zip. The download command previously tried to unzip all artifacts, causing 'zip: not a valid zip file' errors. Fix: check Content-Type header before attempting zip extraction. Non-zipped artifacts are saved directly using the artifact name. Fixes cli#13012 Signed-off-by: Arunesh Dwivedi <arunesh.devops@gmail.com>
This was referenced
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters