upload-artifact icon indicating copy to clipboard operation
upload-artifact copied to clipboard

[feat req] Non-zip artifacts

Open cnlohr opened this issue 1 year ago • 5 comments

What would you like to be added?

It may already be possible, but I can't figure out how to do it. For a variety of reasons, I would find it very useful if we could upload non-zip artifacts.

Why is this needed?

For instance:

  1. It would be possible to upload an image on-commit with information about the specific build that outlines details about the repo's current state.
  2. If I want to upload a .zip file, I don't want it double-zipped.
  3. Artifacts can be used by embedded devices to update, whereas zipped files are hard to deal with on embedded devices.

cnlohr avatar Aug 19 '23 18:08 cnlohr

This is important for uploading Linux AppImage files:

https://docs.appimage.org/packaging-guide/distribution.html#do-not-put-appimages-into-other-archives

theogravity avatar Jan 05 '24 00:01 theogravity

++ same concern for double zipping files and also if I want to attach log files or html files and easily access them from a mobile device :)

MohabMohie avatar Jan 27 '24 06:01 MohabMohie

Here is my use case. I want to generate the file openapi.json, if I have the link to the file in plain, I can directly use https://redocly.github.io/redoc/ to load the API spec.

Hainguyen1210 avatar Feb 23 '24 06:02 Hainguyen1210

++ Would love to see this. I'm using this action to quickly bundle up tooling directories, and since permissions are erased by the action I find myself creating archives of the directories. Which are then zipped up by the action so my users must extract the artifacts twice.

plauche avatar Mar 08 '24 17:03 plauche

Support simply renaming the zip file extension without zipping it again so the artifact can be opened as a document.

Eg: https://en.wikipedia.org/wiki/OpenDocument

The Open Document Format for Office Applications (ODF), also known as OpenDocument, standardized as ISO 26300, is an open file format for word processing documents, spreadsheets, presentations and graphics and using ZIP-compressed[6] XML files.

flywire avatar Mar 31 '24 21:03 flywire

This really needs adding. I use a flow to build a pdf from latex. I could view this directly in my browser if it hadn't been zipped.

JamesAllsopp avatar Oct 04 '24 13:10 JamesAllsopp