◐ Shell
clean mode source ↗

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

Jun 11, 2026