File tree Expand file tree Collapse file tree 1 file changed +13
-7
lines changed
Expand file tree Collapse file tree 1 file changed +13
-7
lines changed Original file line number Diff line number Diff line change 1515 runs-on : ubuntu-latest
1616
1717 steps :
18+ - name : Checkout repository (without submodules)
19+ uses : actions/checkout@v4
20+ with :
21+ submodules : false
22+ fetch-depth : 0
23+
1824 - name : Set up SSH for private repos
1925 run : |
2026 mkdir -p ~/.ssh
@@ -28,14 +34,14 @@ jobs:
2834 IdentitiesOnly yes
2935 EOT
3036
31- # Configure git to use SSH instead of HTTPS for GitHub
32- git config --global url."[email protected] :".insteadOf "https://github.com/" 37+ echo "✅ SSH configured"
3338
34- - name : Checkout repository
35- uses : actions/checkout@v4
36- with :
37- submodules : recursive
38- fetch-depth : 0
39+ - name : Checkout submodules
40+ run : |
41+ echo "📦 Checking out submodules..."
42+ git submodule sync --recursive
43+ git submodule update --init --recursive
44+ echo "✅ Submodules checked out"
3945
4046 - name : Cache downloads
4147 uses : actions/cache@v4
You can’t perform that action at this time.
0 commit comments