Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make uploadZipToBlobStorage() log raw and compressed sizes ? #1741

Open
iTrooz opened this issue May 28, 2024 · 0 comments
Open

Make uploadZipToBlobStorage() log raw and compressed sizes ? #1741

iTrooz opened this issue May 28, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@iTrooz
Copy link

iTrooz commented May 28, 2024

Describe the enhancement
I would like https://github.com/actions/upload-artifact (and other clients of this function ?) to print some statistics about artifact size, like human size before compression, and human size after compression

An example upload log would look like this: (** denotes the added info)

With the provided path, there will be 1 file uploaded
Artifact name is valid!
Root directory input is valid!
**Artifact size before compression is 391MB**
Beginning upload of artifact content to blob storage
Uploaded bytes 58898
Finished uploading artifact content to blob storage!
SHA256 hash of uploaded artifact zip is 1be075ed8a9304155a5a31d57a94eb4d085beca34e1aeae72ae0657ae54a0646
Finalizing artifact upload
Artifact my-artifact.zip successfully finalized. Artifact ID 1543616798
Artifact my-artifact has been successfully uploaded! Final **compressed** size is **302MB** bytes. Artifact ID is 1543616798

Additional information
I am ready to submit a PR for this

@iTrooz iTrooz added the enhancement New feature or request label May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant