diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fbaee01..820caab 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -43,9 +43,6 @@ jobs: -e BUILD_TYPE=${{ env.BUILD_TYPE }} run: | cd /workspace - git config --global --add safe.directory /workspace/External/SDL - git config --global --add safe.directory /workspace/External/SDL_image - git config --global --add safe.directory /workspace/External/SDL_ttf ./External/build.sh - name: Build diff --git a/External/build.sh b/External/build.sh index 9ba6979..8fea3bc 100755 --- a/External/build.sh +++ b/External/build.sh @@ -73,6 +73,10 @@ if [[ $RUNNER_OS == 'Linux' ]]; then libpulse-dev$TARGET_APT_ARCH \ libpipewire-0.3-dev$TARGET_APT_ARCH \ libdecor-0-dev$TARGET_APT_ARCH + + git config --global --add safe.directory /workspace/External/SDL + git config --global --add safe.directory /workspace/External/SDL_image + git config --global --add safe.directory /workspace/External/SDL_ttf fi # Build SDL