Skip to content

Comments

fix(ci): append matrix OS to artifact name in sample-workflow#163

Merged
DimaBir merged 1 commit intomainfrom
fix/upload-artifact-conflict-all
Feb 19, 2026
Merged

fix(ci): append matrix OS to artifact name in sample-workflow#163
DimaBir merged 1 commit intomainfrom
fix/upload-artifact-conflict-all

Conversation

@DimaBir
Copy link
Collaborator

@DimaBir DimaBir commented Feb 19, 2026

Summary

  • Fix duplicate artifact upload conflict in sample-workflow.yml (runs on main)
  • Same fix as Update CodeQL upload-sarif step #128 for on-push-verification.yml, but for the sample workflow
  • upload-artifact@v4 rejects duplicate names within the same run, causing the Windows matrix job to fail with 409

Change

name: alertsname: alerts-${{ matrix.os }} so each matrix job uploads a uniquely named artifact.

Test plan

  • CI passes on both windows-latest and ubuntu-latest matrix jobs

@DimaBir DimaBir merged commit 9bf6e8b into main Feb 19, 2026
12 checks passed
@DimaBir DimaBir deleted the fix/upload-artifact-conflict-all branch February 19, 2026 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants