File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed
Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ---
Original file line number Diff line number Diff line change @@ -457,11 +457,20 @@ jobs:
457457 NODE_EXTRA_CA_CERTS : ${{ github.workspace }}/integration/certs/rootCA.pem
458458 VERCEL_AUTOMATION_BYPASS_SECRET : ${{ secrets.VERCEL_AUTOMATION_BYPASS_SECRET }}
459459
460+ - name : Sanitize artifact name
461+ if : ${{ cancelled() || failure() }}
462+ id : sanitize
463+ run : |
464+ SANITIZED="${TEST_NAME//:/-}"
465+ echo "artifact-suffix=${SANITIZED}" >> $GITHUB_OUTPUT
466+ env :
467+ TEST_NAME : ${{ matrix.test-name }}
468+
460469 - name : Upload test-results
461470 if : ${{ cancelled() || failure() }}
462471 uses : actions/upload-artifact@v4
463472 with :
464- name : playwright-traces-${{ github.run_id }}-${{ github.run_attempt }}-${{ matrix.test-name }}${{ matrix.next-version && format('-next{0}', matrix.next-version) || '' }}
473+ name : playwright-traces-${{ github.run_id }}-${{ github.run_attempt }}-${{ steps.sanitize.outputs.artifact-suffix }}${{ matrix.next-version && format('-next{0}', matrix.next-version) || '' }}
465474 path : test-results
466475 retention-days : 1
467476
You can’t perform that action at this time.
0 commit comments