Comments (10)
Any movement on this?
from upload-artifact.
Facing the same issue... The current solution to the problem is to use upload-tartifact and download-tartifact which do exactly that.
It would be nicer to have an option in the original action to tar before upload / untar after download instead
from upload-artifact.
I understand and share your frustration. I hope this is made a bit simpler soon.
from upload-artifact.
You should not use actions/upload-artifact
for this, instead you should use actions/cache
- see https://github.com/actions/cache
Edit Dec 2020: I was wrong. actions/cache can cache the process of running npm install
, but doesn't make sense to share the node_modules
directory between steps.
from upload-artifact.
@g105b in that case the Passing data between jobs in a workflow doc needs an update, since that page doesn't mention limitations or actions/cache at all. Also Comparing artifacts and dependency caching. How many files and/or which size of directory warrants using caching instead of archiving?
Also calling it a cache for some "artifacts" but not others is a bit of a misnomer, since I need the exact contents of the directory in all the jobs in the workflow.
from upload-artifact.
Hi, I'm trying to have a build process spit out a fully working artifact that includes everything it needs to run (node_modules, dist, etc).
But I'm facing the same problem: uploading 16k files takes longer than actually building the whole application.
If I understand this correct, actions/cache would only help if you need to share the node_modules between workflow runs?
Is there any workaround to force actions/upload-artifact to somehow tar the files instead of uploading them all individually?
I also tried using actions/create-zip-file, which speeds everything up, but when downloading the artifact there now is a zip inside a zip, and I feel like that's unnecessary.
I'm guessing #69 would fix this problem, but it doesn't seem like that will be a thing soon
from upload-artifact.
You can get a massive boost by tar
ing the folder before uploading it (Zip also works, but then you're wasting time on compression). The resulting file being zipped again is unfortunate, but the speedup is worth it.
Edit: see also #39
from upload-artifact.
Bump. This should probably be done by default.
from upload-artifact.
Bump!
from upload-artifact.
Any movement on this?
from upload-artifact.
Related Issues (20)
- [bug] Default Ubuntu 22.04 runner: getaddrinfo ENOTFOUND productionresultssa3.blob.core.windows.net HOT 2
- Error: Failed to get backend IDs: The provided JWT token is invalid and/or missing claims HOT 1
- [feat req] Add retries HOT 1
- [bug] v4: Duplicate artifacts after FinalizeArtifact timeout
- Warning: No files were found with the provided HOT 1
- [bug] name config is not applied HOT 1
- [feat req] - encrypted artifact
- [bug] crash on windows HOT 2
- [feat req] GHES Support HOT 1
- [feat req] how to upload each zipped volumn in separate artifacts.
- [docs] Really needs to mention that it does NOT work from the `working-directory` of the job HOT 4
- @v4 breaks workflows when using unprivileged containers HOT 3
- [bug] v4.3.1: Unexpected token '<', "<!DOCTYPE "... is not valid JSON HOT 9
- [feat req] support colon in file names HOT 1
- Add option to include explicit directory entries [feat req] HOT 1
- [feat req] merging of uploads ala v3 HOT 3
- Delete Artifact Action HOT 1
- #331
- [bug] Request failures in v4 on ECONNRESET and 403 Forbidden. HOT 4
- Temporary/intermediate artifacts
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from upload-artifact.