Skip to content

Commit a24c34b

Browse files
committed
Clean both root and bridge vendor folders to avoid circular symlinks
1 parent f5c29d1 commit a24c34b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/code-quality.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -182,10 +182,10 @@ jobs:
182182
if: matrix.bridge.component == 'platform'
183183
run: php .github/build-packages.php
184184

185-
# Remove root vendor to avoid circular symlinks when installing bridge dependencies
186-
- name: Clean root vendor (platform bridges only)
185+
# Remove root vendor and bridge vendor to avoid circular symlinks when installing bridge dependencies
186+
- name: Clean vendor folders (platform bridges only)
187187
if: matrix.bridge.component == 'platform'
188-
run: rm -rf vendor
188+
run: rm -rf vendor src/platform/src/Bridge/${{ matrix.bridge.bridge }}/vendor
189189

190190
- name: Install dependencies
191191
uses: ramsey/composer-install@v3

.github/workflows/unit-tests.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -303,9 +303,9 @@ jobs:
303303
- name: Build packages
304304
run: php .github/build-packages.php
305305

306-
# Remove root vendor to avoid circular symlinks when installing bridge dependencies
307-
- name: Clean root vendor
308-
run: rm -rf vendor
306+
# Remove root vendor and bridge vendor to avoid circular symlinks when installing bridge dependencies
307+
- name: Clean vendor folders
308+
run: rm -rf vendor src/platform/src/Bridge/${{ matrix.bridge.bridge }}/vendor
309309

310310
- name: Install dependencies
311311
uses: ramsey/composer-install@v3

0 commit comments

Comments
 (0)