From a1bac0c5b3ca25799e99e6b642faa4c7d00a1432 Mon Sep 17 00:00:00 2001 From: Ryan Iguchi Date: Fri, 26 Jun 2026 19:12:57 +0200 Subject: [PATCH 1/2] improving upload-artifact --- .github/workflows/playwright.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index a0a713d..f5f1b49 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -104,6 +104,6 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 if: always() with: - name: playwright-report-${{ inputs.shard_index || 1 }} + name: "${{ inputs.shard_count > 1 && format('playwright-report-{0}', inputs.shard_index) || 'playwright-report' }}" path: playwright-report/ retention-days: 30 From d9c07ceab46fe3ee3320fe6b0c0684ca91ca1e14 Mon Sep 17 00:00:00 2001 From: Ryan Iguchi Date: Fri, 26 Jun 2026 19:26:37 +0200 Subject: [PATCH 2/2] fix --- .github/workflows/playwright.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index f5f1b49..95c350b 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -104,6 +104,6 @@ jobs: - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 if: always() with: - name: "${{ inputs.shard_count > 1 && format('playwright-report-{0}', inputs.shard_index) || 'playwright-report' }}" + name: "${{ inputs.shard_count > 1 && format('playwright-report-{0}', inputs.shard_index || 1) || 'playwright-report' }}" path: playwright-report/ retention-days: 30