Skip to content

Commit 4bf09b8

Browse files
authored
Update build.yml
1 parent 9c5e8bb commit 4bf09b8

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
steps:
3838
- name: Patch Alpine for GitHub Actions
3939
run: |
40-
apk add --no-cache nodejs npm gcompat
40+
apk add --no-cache nodejs npm gcompat git
4141
sed -i 's/^ID=.*/ID=gha/' /etc/os-release
4242
mkdir -p /__e/node20/bin
4343
ln -sf /usr/bin/node /__e/node20/bin/node
@@ -47,11 +47,16 @@ jobs:
4747
with:
4848
fetch-depth: 0
4949

50+
- name: Fetch submodules
51+
run: |
52+
git config --global --add safe.directory "$GITHUB_WORKSPACE"
53+
git submodule update --init --recursive
54+
5055
- name: Install LLVM toolchain
5156
run: |
5257
apk add --no-cache \
5358
clang llvm mold \
54-
musl-dev make git curl
59+
musl-dev make curl
5560
5661
for t in ar ranlib nm objcopy objdump strip strings size readelf addr2line; do
5762
ln -sf "/usr/bin/llvm-$t" "/usr/bin/$t"

0 commit comments

Comments
 (0)