Commit cfc4d9753a6 for woocommerce

commit cfc4d9753a640abe19dec1f4c0ead3319e40b19c
Author: Adrian Moldovan <3854374+adimoldovan@users.noreply.github.com>
Date:   Thu Nov 26 18:36:46 2026 +0200

    Fix CI test report jobs failing with 'Artifact not found' (#71488)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 383b0126007..27bb72aa592 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -653,6 +653,14 @@ jobs:
       ARTIFACT_NAME: ${{ matrix.report }}-attempt-${{ github.run_attempt }}

     steps:
+      # Download the parts before the merge: a just-merged artifact is not always listed yet, so downloading it can fail.
+      - name: 'Download report artifacts'
+        uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
+        with:
+          pattern: ${{ matrix.report }}__*
+          merge-multiple: true
+          path: ${{ runner.temp }}/merged-artifact
+
       - name: 'Merge artifacts'
         id: merge-artifacts
         uses: actions/upload-artifact/merge@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
@@ -663,13 +671,6 @@ jobs:
           delete-merged: true
           retention-days: 14

-      - name: 'Download merged artifact'
-        if: ${{ !! steps.merge-artifacts.outputs.artifact-id }}
-        uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
-        with:
-          name: ${{ env.ARTIFACT_NAME }}
-          path: ${{ runner.temp }}/merged-artifact
-
       - name: 'Upload CTRF report'
         if: ${{ !! steps.merge-artifacts.outputs.artifact-id }}
         env: