Upload-artifact: File size of uploaded artifacts shows up uncompressed

Created on 6 Nov 2019  路  5Comments  路  Source: actions/upload-artifact

Not sure if this is an appropriate place for this issue, but basically once you upload an artifact with this action, it will appear in the artifacts list. The problem is that it shows the file size uncompressed, despite being packed in an archive.

Most helpful comment

Would it be possible to at least show both? This is a bit confusing.

All 5 comments

@Tyrrrz This is intentional. The file size represents the size uploaded, not the size compressed.

Would it be possible to at least show both? This is a bit confusing.

Which size is used for billing? It should probably clear which is used.

@leecbaker good point. Which one it is? I started upload code coverage artifacts on each build and got to 2gb in less than a week! Compressed file 1.6mb and uncompressed 26mb.

The docs have been updated to clarify this:

Artifacts are uploaded during a workflow run, and you can view an artifact's name and size in the UI. When an artifact is downloaded using the GitHub UI, all files that were individually uploaded as part of the artifact get zipped together into a single file. This means that billing is calculated based on the size of the uploaded artifact and not the size of the zip file.

https://help.github.com/en/actions/configuring-and-managing-workflows/persisting-workflow-data-using-artifacts

Was this page helpful?
0 / 5 - 0 ratings

Related issues

wchen342 picture wchen342  路  4Comments

panos picture panos  路  3Comments

tysonite picture tysonite  路  9Comments

kcgen picture kcgen  路  6Comments

craig-dae picture craig-dae  路  6Comments