Skip to content

Commit 6340f7c

Browse files
committed
fix: Fix CI
1 parent bb6092a commit 6340f7c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ jobs:
3030
id: discover-submodules
3131
run: |
3232
submodules=$(git submodule status --recursive | awk '{ print $2 }')
33-
matrix=$(echo "$submodules" | jq -R -s -c 'split("\n")[:-1] | map({ repository: . })')
33+
# Convert submodules to JSON array format with owner/repo info
34+
matrix=$(echo "$submodules" | jq -R -s -c 'split("\n")[:-1] | map({repository: .})')
3435
echo "Submodule Matrix: $matrix"
3536
echo "::set-output name=submodule-matrix::$matrix"
3637
@@ -63,7 +64,7 @@ jobs:
6364
6465
cd ${{ matrix.repository }}
6566
echo "Changed directory to ${{ matrix.repository }}"
66-
67+
6768
# Check if the directory exists before trying to run pnpm
6869
if [ -d "$PWD" ]; then
6970
pnpm install

0 commit comments

Comments
 (0)