Upload-artifact: Display files in browser where appropriate.

Created on 13 Sep 2019  路  8Comments  路  Source: actions/upload-artifact

It would be nice to open html files in the browser instead of having to download and up zip the file. CircleCi does this. This is useful for test results or lint results and other types of reports.

UI enhancement

Most helpful comment

Chiming in now that v2 is released. The zip file that you see is a GitHub UI limitation. Files get uploaded individually one by one. The zip that you see only gets generated when you click to download the artifact from the UI (we don't have anything in the UI to let you browse artifact files and consequently download them) The zip currently gets created so you can get all the contents of your artifact with a single download. So we have some work to do on our end that is independent of how the artifact gets uploaded.

Please be aware that we have plans to significantly enhance the UI so you can browse and download files individually (and consequently open files in the browser such as PDFs and HTML documents). No ETA, but we'll share information for sure once things start coming up.

All 8 comments

We'd love to be able to access images directly in the browser without having to download+extract the ZIP.

To add to the mimetypes, I have PDF artifacts, and it would also be nice if they simply opened in an appropriate viewer.

I'm also looking for this feature so that we can fully deprecate and replace our dependency on CircleCI. We generate Sphinx pages (html, css, js), and CircleCI gives us a link to view these directly from the CI results page. This is an important piece of functionality for some of our projects.

Is this on someone's roadmap with an ETA, or is this something that I can help with implementing on top of the v2-preview action?

It would be very nice if someone with typescript experience can implement that as v2 is out finally!

Chiming in now that v2 is released. The zip file that you see is a GitHub UI limitation. Files get uploaded individually one by one. The zip that you see only gets generated when you click to download the artifact from the UI (we don't have anything in the UI to let you browse artifact files and consequently download them) The zip currently gets created so you can get all the contents of your artifact with a single download. So we have some work to do on our end that is independent of how the artifact gets uploaded.

Please be aware that we have plans to significantly enhance the UI so you can browse and download files individually (and consequently open files in the browser such as PDFs and HTML documents). No ETA, but we'll share information for sure once things start coming up.

Even if the UI is not there yet, is it possible to obtain a separate artifact file by some tailored URL? If not, could it perhaps be implemented as a first step?

seems more like a bug if you upload an artifact of a .zip file for it to just then be rezipped as an artifact. Artifact uploads should be able to be referenced via URL and viewed within the UI without having to unzip for an individual file that was pushed ie .html, .jpg etc

Any progress on this? Would love an update since the last comment 6mos ago.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

aparcar picture aparcar  路  5Comments

luna-kx picture luna-kx  路  5Comments

wchen342 picture wchen342  路  4Comments

zakkak picture zakkak  路  7Comments

lelegard picture lelegard  路  5Comments