Artifacts & caching in GitHub Actions
Në shqip: Artefaktet dhe cache në GitHub Actions
ShpjegimiSQ
actions/upload-artifact ruan skedarë nga një punë (raporte testesh, ndërtime) që t'i shkarkosh ose t'i përdorë një punë tjetër; actions/cache ruan varësitë mes ekzekutimeve që pipeline-i të jetë më i shpejtë.
EnglishEN
actions/upload-artifact saves files from a job (test reports, builds) to download or pass to another job; actions/cache keeps dependencies between runs so the pipeline is faster.
Si ta mendosh
Si një dollap ku punëtorët lënë veglat për turnin e radhës.
Lexoje në anglisht
Like a locker where workers leave tools for the next shift.
Shembull kodiyaml
- uses: actions/setup-node@v4
with: { node-version: 22, cache: npm }