Skip to content

Commit ed6c4a7

Browse files
authored
Merge pull request #6 from kingstinct/upload-artifact-improvement
improving upload-artifact
2 parents 926180a + d9c07ce commit ed6c4a7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/playwright.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,6 @@ jobs:
104104
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
105105
if: always()
106106
with:
107-
name: playwright-report-${{ inputs.shard_index || 1 }}
107+
name: "${{ inputs.shard_count > 1 && format('playwright-report-{0}', inputs.shard_index || 1) || 'playwright-report' }}"
108108
path: playwright-report/
109109
retention-days: 30

0 commit comments

Comments
 (0)