Skip to content

Commit 85fe3a8

Browse files
Update GitHub Actions workflow
1 parent a3df8ca commit 85fe3a8

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

.github/workflows/dev-release.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ jobs:
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

0 commit comments

Comments
 (0)