Skip to content

Commit 0f0b164

Browse files
committed
ci: add workaround for permission problems
As suggested here: actions/checkout#760
1 parent bc4acc2 commit 0f0b164

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ jobs:
99
steps:
1010
- run: apk --no-cache add git gcc g++ binutils pkgconf meson ninja musl-dev wayland-dev wayland-protocols libinput-dev libevdev-dev libxkbcommon-dev pixman-dev glm-dev libdrm-dev mesa-dev cairo-dev pango-dev eudev-dev libxml2-dev libexecinfo-dev libseat-dev libxcb-dev xcb-util-wm-dev xwayland
1111
- uses: actions/checkout@v1
12+
- run: git config --global --add safe.directory /__w/wayfire/wayfire
1213
- run: git submodule sync --recursive && git submodule update --init --force --recursive
1314
- run: meson build
1415
- run: ninja -v -Cbuild
@@ -24,6 +25,7 @@ jobs:
2425

2526
# Build Wayfire
2627
- uses: actions/checkout@v1
28+
- run: git config --global --add safe.directory /__w/wayfire/wayfire
2729
- run: git submodule sync --recursive && git submodule update --init --force --recursive
2830
- run: env CC=clang CXX=clang++ CXXFLAGS="-stdlib=libc++" LDFLAGS="-fuse-ld=lld -stdlib=libc++" meson build
2931
- run: ninja -v -Cbuild

0 commit comments

Comments
 (0)