fix(ci): prevent artifact name collision in backward-compat tests

- Add github.job and github.action to artifact name for uniqueness
- Fixes 409 Conflict errors when same job uploads multiple artifacts
- Ensures PR and main branch test artifacts have unique names
This commit is contained in:
Ashwin Bharambe 2025-10-30 15:07:01 -07:00
parent a62b00a5c8
commit 6088fd9ae1

View file

@ -94,7 +94,7 @@ runs:
if: ${{ always() }}
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: logs-${{ github.run_id }}-${{ github.run_attempt || '' }}-${{ strategy.job-index }}
name: logs-${{ github.run_id }}-${{ github.run_attempt || '1' }}-${{ strategy.job-index || github.job }}-${{ github.action }}
path: |
*.log
retention-days: 1