Fix artifact name collision in services-base workflow for matrix callers

This commit is contained in:
joereyna 2026-04-01 15:38:53 -07:00
parent 174f7a1ab7
commit a9d216e248
No known key found for this signature in database
GPG key ID: 37E09E2BDB5920E5
2 changed files with 7 additions and 1 deletions

View file

@ -37,6 +37,11 @@ on:
required: false
type: boolean
default: false
artifact-name:
description: "Unique name for the coverage artifact (must be unique per run)"
required: false
type: string
default: "run"
secrets:
REDIS_HOST:
required: false
@ -173,7 +178,7 @@ jobs:
if: always()
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
with:
name: coverage-${{ github.job }}-${{ github.run_id }}-${{ github.run_attempt }}
name: coverage-${{ inputs.artifact-name }}-${{ github.run_id }}-${{ github.run_attempt }}
path: coverage.xml
retention-days: 1

View file

@ -41,6 +41,7 @@ jobs:
timeout-minutes: ${{ matrix.timeout }}
enable-redis: false
enable-postgres: true
artifact-name: proxy-db-${{ matrix.test-group }}
secrets:
DATABASE_URL: ${{ secrets.DATABASE_URL }}
POSTGRES_USER: ${{ secrets.POSTGRES_USER }}