cli/cli

Can't Download Non-Zipped Artifacts

Offen

#13.012 geöffnet am 24.03.2026

 (7 Kommentare) (8 Reaktionen) (1 zugewiesene Person)Go (8.428 Forks)batch import
enhancementgh-runhelp wanted

Repository-Metriken

Stars
 (44.396 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Describe the bug

Can't download non-zipped artifacts that were uploaded with archive: false.

Affected version

gh version 2.88.1 (2026-03-12)
https://github.com/cli/cli/releases/tag/v2.88.1

Steps to reproduce the behavior

  1. Upload non-zipped artifact in GHA using actions/upload-artifact with archive: false
  2. Try to download the artifact with gh run download
  3. Get an error message: error downloading <artifact>: error extracting zip archive: zip: not a valid zip file

Expected vs actual behavior

Expected to be able to download non-zipped artifacts after they were announced, but the CLI tries to unzip all artifacts.

Contributor Guide