How do artifacts v4 differ from older versions?
AdvancedConceptCaching, Artifacts, Runners & ARC
Answer
actions/upload-artifact@v4 and download-artifact@v4 (v1 to v3 are shut down) brought: much faster uploads and downloads, artifacts available via UI and API immediately while the run is still going, immutability (you cannot upload to the same artifact name twice in a run), a per-job limit of 500 artifacts, and the ability to download from other runs and repos with run-id and github-token. Matrix legs must use unique names (report-${{ matrix.os }}) and a downstream job merges with pattern plus merge-multiple: true.
More on Caching, Artifacts, Runners & ARC
How does `actions/cache` match keys and restore keys?IntermediateWhich caches can a branch restore from?AdvancedWhat are the cache size limits and eviction rules?BeginnerWhen should you use setup-* built-in caching instead of `actions/cache`?BeginnerWhy cache the package manager's download cache rather than `node_modules`?AdvancedHow do `actions/cache/restore` and `actions/cache/save` help?Advanced