-
After a action is finished I can download the produced artifacts from a popup menu in the upper right corner of the build log. When it is a zip file it will show up as " a-file.zip" but after downloading it will show up as " a-file.zip.zip" on my disk and I need to unpack twice. Can the download logic be changed so that zip files are not re-zipped? Thanks! Tom |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 1 reply
-
Did you use the action actions/upload-artifact to upload artifacts in your workflow? I tested and checked this with different OSs, all the downloaded artifacts were normal and shown as .zip, not .zip.zip . If possible, can you share your repository with us, so that we can check your workflow configurations to analyze the root cause? |
Beta Was this translation helpful? Give feedback.
-
Thanks for the quick reply BrightRan! On this page there is a DclareForMPS.zip that downloads on my mac (safari 13.0.5) as DclareForMPS.zip.zip. I used actions/upload-artifact@v1. You will find whatever you need in the underlaying project. Hope you can shed some light :slight_smile: -Tom |
Beta Was this translation helpful? Give feedback.
-
When using the action actions/upload-artifact to upload artifacts, the action will automatically package the files in the specific path (can be a directory path or a file path) as a ZIP and names the ZIP with the specific name (artifact name). I checked your workflow configurations, and found:
There are 2 questions in your workflow about this:
After executing the action actions/upload-artifact , the structure of your artifact will like below:
To avoid this misunderstanding, I recommend you take the following updates:
|
Beta Was this translation helpful? Give feedback.
-
That explains a lot! Thanks. I think I was a bit misled by the term artifact which sounds more like a file then a dir to me, but that is bias ;-). This gives me the workaround I needed. I would still like to propose this as a feature request though: - do not zip an already zipped file if it is the only artifact Thanks again! |
Beta Was this translation helpful? Give feedback.
-
Hello from 2024! Please consider not zipping zip files exactly as requested above. |
Beta Was this translation helpful? Give feedback.
-
It would be nice having I think this is related issue: actions/upload-artifact#405 |
Beta Was this translation helpful? Give feedback.
-
See also actions/upload-artifact#426 |
Beta Was this translation helpful? Give feedback.
When using the action actions/upload-artifact to upload artifacts, the action will automatically package the files in the specific path (can be a directory path or a file path) as a ZIP and names the ZIP with the specific name (artifact name).
I checked your workflow configurations, and found:
There are 2 questions in your workflow about this:
You have set the artifact name as DclareForMPS.zip , so the artifact will be zipped as DclareForMPS.zip.zip.
Before upload the artifact, you have zipped the…