Browse Source

Update ci.yml

Try fix.
Michael Herzog 1 year ago
parent
commit
37e1cb53c2
1 changed files with 12 additions and 2 deletions
  1. 12 2
      .github/workflows/ci.yml

+ 12 - 2
.github/workflows/ci.yml

@@ -89,13 +89,23 @@ jobs:
       - name: === E2E testing ===
         run: npm run test-e2e
       - name: Upload output screenshots
-        uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4
+        uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4
         if: always()
         with:
-          name: Output screenshots
+          name: Output screenshots-${{ matrix.os }}-${{ matrix.CI }}
           path: test/e2e/output-screenshots
           if-no-files-found: ignore
 
+  merge:
+    runs-on: ${{ matrix.os }}
+    needs: [ e2e ]
+    steps:
+      - name: Merge Artifacts
+        uses: actions/upload-artifact/merge@v4
+        with:
+          name: artifacts
+          pattern:  Output screenshots-*
+
   e2e-cov:
     name: Examples ready for release
     runs-on: ubuntu-latest