Skip to content

Commit 337ffcf

Browse files
geekosaurMikolaj
authored andcommitted
try to figure out why static builds lack git info
1 parent 2184732 commit 337ffcf

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/validate.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,11 @@ jobs:
336336
apk add bash curl sudo jq pkgconfig \
337337
zlib-dev zlib-static binutils-gold curl \
338338
gcc g++ gmp-dev libc-dev libffi-dev make \
339-
musl-dev ncurses-dev perl tar xz
339+
musl-dev ncurses-dev perl tar xz git
340+
341+
# Apparently there's some permissions thing inside vs. outside the container
342+
# that Alpine's git doesn't like. Hack around it.
343+
- run: git config --global --add safe.directory $(pwd)
340344

341345
- uses: actions/checkout@v4
342346

0 commit comments

Comments
 (0)