diff --git a/.github/workflows/ccache.env b/.github/workflows/ccache.env index 2cae97776a..47455589cb 100644 --- a/.github/workflows/ccache.env +++ b/.github/workflows/ccache.env @@ -1,6 +1,8 @@ # common ccache env vars for CI export CCACHE_SLOPPINESS=file_stat_matches +git config --global --add safe.directory ${GITHUB_WORKSPACE} + mkdir -p ~/.ccache echo "base_dir = ${GITHUB_WORKSPACE}" > ~/.ccache/ccache.conf echo "compression = true" >> ~/.ccache/ccache.conf