Guard ccache and avoid lib name collisions

Co-authored-by: Valorith <76063792+Valorith@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-01-25 00:42:42 +00:00
parent d27e901421
commit 9e220a05c5
2 changed files with 18 additions and 2 deletions
+7
View File
@@ -24,6 +24,13 @@ jobs:
with:
key: ${{ runner.os }}-ccache-${{ hashFiles('CMakeLists.txt', '.github/workflows/build.yaml') }}
- name: Ensure ccache installed
run: |
if ! command -v ccache >/dev/null 2>&1; then
apt-get update -qq
DEBIAN_FRONTEND=noninteractive apt-get install -y -qq ccache
fi
- name: Mark workspace safe
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"