Skip to content

Commit 0c933c9

Browse files
Only SDL
1 parent 2ead7ee commit 0c933c9

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,14 @@ jobs:
1515
with:
1616
submodules: recursive
1717

18-
- name: Fetch tags, needed for lib/SDL
18+
- name: Fetch tags for lib/SDL
1919
run: |
20-
git submodule foreach --recursive 'git fetch origin "refs/*:refs/*"'
20+
# Unshallow a specific submodule (fetches full history)
21+
cd lib/SDL
22+
git fetch --unshallow origin
23+
# Or fetch all refs without unshallowing (keeps it shallow but adds refs)
24+
git fetch origin 'refs/*:refs/*'
25+
cd ../..
2126
2227
- name: Install dependencies
2328
run: |

0 commit comments

Comments
 (0)