22 / 48 · 16 CI/CD Pipelines · Artifact Management← prev⊞ allnext →☰ Read as one page
4.4Organizing Artifacts
When a matrix strategy produces multiple artifacts, name them clearly so you can find the right one.
# Bad: generic names
name: test-results # Which browser? Which shard?
# Good: descriptive names with matrix values
name: traces-${{ matrix.browser }}-${{ matrix.shard }}
# Produces: traces-chromium-1, traces-chromium-2, traces-firefox-1, etc.
For multi-job pipelines, prefix artifacts with the job name:
# Job: unit-tests
name: unit-coverage
# Job: integration-tests
name: integration-report
# Job: browser-tests
name: browser-traces-${{ matrix.browser }}