Skip to content

Commit 58140f4

Browse files
committed
Use copy instead of symlink for path repositories in CI
Symlinks cause infinite recursion when bridges depend on symfony/ai-platform because the symlink includes the entire src/platform directory with all bridges, and each bridge has its own vendor folder.
1 parent 838ca90 commit 58140f4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/build-packages.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@
4949
$repositories[] = [
5050
'type' => 'path',
5151
'url' => $packageInfo['path'],
52+
'options' => [
53+
'symlink' => false,
54+
],
5255
];
5356
$key = isset($packageData['require'][$packageName]) ? 'require' : 'require-dev';
5457
$packageData[$key][$packageName] = '@dev';

0 commit comments

Comments
 (0)