From 03cfe1bdecb6949de489e29a06de9776ea46aee9 Mon Sep 17 00:00:00 2001 From: Julian Oes Date: Fri, 16 Feb 2024 10:48:14 +1300 Subject: [PATCH] CI: Workaround to mark workspace safe Signed-off-by: Julian Oes --- .github/workflows/rpi-build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/rpi-build.yml b/.github/workflows/rpi-build.yml index b4fef48..2f2bb68 100644 --- a/.github/workflows/rpi-build.yml +++ b/.github/workflows/rpi-build.yml @@ -35,6 +35,7 @@ jobs: wget https://github.com/mavlink/MAVSDK/releases/download/v2.2.0/libmavsdk-dev_2.2.0_debian11_arm64.deb dpkg -i libmavsdk-dev_2.2.0_debian11_arm64.deb rm libmavsdk-dev_2.2.0_debian11_arm64.deb + git config --global --add safe.directory "$GITHUB_WORKSPACE" cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=install -Bbuild -S. cmake --build build -j$(nproc) --target install ./create_packages.sh ./install . arm64 siyi-a8-mini-camera-manager