Interview Prep/CI/CD/GitHub Actions Failures

`Error: Conflict: an artifact with this name already exists on the workflow run` in a matrix.

IntermediateTroubleshootingGitHub Actions Failures
Answer

Likely causes → Artifact v4 requires unique names; matrix jobs upload the same name.

Diagnose → Check names in the upload step.

Fix → Use name: logs-${{ matrix.os }}-${{ matrix.node }}, and download all with pattern: logs-* and merge-multiple: true.

Prevent → Include matrix keys in artifact names.

All CI/CD questions

More on GitHub Actions Failures