diff --git a/.github/workflows/Recovery Build.yml b/.github/workflows/Recovery Build.yml index 85348b75f..c860b2054 100644 --- a/.github/workflows/Recovery Build.yml +++ b/.github/workflows/Recovery Build.yml @@ -147,6 +147,11 @@ jobs: - name: Building recovery run: | source build/envsetup.sh + export USE_CCACHE=1 + export CCACHE_EXEC=$(which ccache) + export CC="ccache gcc" + export CXX="ccache g++" + ccache -M 50G export ALLOW_MISSING_DEPENDENCIES=true lunch ${{ github.event.inputs.MAKEFILE_NAME }}-eng && make clean && make ${{ github.event.inputs.BUILD_TARGET }}image -j$(nproc --all) working-directory: ${{ steps.pwd.outputs.workspace-folder }}