Skip to content

Commit 985650c

Browse files
committed
fix(gha): better debug log
oasbnfckjasbckljasd c
1 parent 1f66c6d commit 985650c

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

.github/workflows/ci-default.yml

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -43,21 +43,20 @@ jobs:
4343
run: |
4444
echo "1. Current directory structure:"
4545
ls -la
46-
echo "\n2. Submodule status before:"
46+
echo "\n2. Content of .gitmodules:"
47+
cat .gitmodules
48+
echo "\n3. Submodule status before:"
4749
git submodule status
48-
echo "\n3. Initialize submodules:"
50+
echo "\n4. Initialize submodules:"
4951
git submodule update --init --recursive
50-
echo "\n4. Submodule status after init:"
52+
echo "\n5. Submodule status after init:"
5153
git submodule status
52-
echo "\n5. Entering submodule:"
53-
cd lib/openzeppelin-contracts-upgradeable
54-
echo "\n6. Remote information:"
55-
git remote -v
56-
echo "\n7. Available commits:"
57-
git log --oneline | head -n 5
58-
echo "\n8. Attempting fetch:"
59-
git fetch --unshallow || git fetch --all
60-
cd ../..
54+
echo "\n6. List lib directory:"
55+
ls -la lib/
56+
echo "\n7. Entering submodule:"
57+
cd lib/openzeppelin-contracts-upgradeable || echo "Directory doesn't exist"
58+
echo "\n8. Remote information:"
59+
git remote -v || echo "Not a git repository"
6160
6261
- name: Checkout and setup submodules
6362
run: |

0 commit comments

Comments
 (0)