diff --git a/.github/workflows/build-linux.yml b/.github/workflows/build-linux.yml index 55761f18b..6ea827e1e 100644 --- a/.github/workflows/build-linux.yml +++ b/.github/workflows/build-linux.yml @@ -142,9 +142,11 @@ jobs: - name: Finalize cache if: inputs.platform-files run: | + ccache --show-stats --verbose ccache --max-size 40M ccache --cleanup - ccache --show-stats --verbose + ccache --max-size 500M + ccache --zero-stats - name: Save ccache if: inputs.platform-files && !inputs.cache-readonly uses: actions/cache/save@v3 diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml index 67bcf08a5..aee5caefd 100644 --- a/.github/workflows/build-windows.yml +++ b/.github/workflows/build-windows.yml @@ -45,6 +45,7 @@ on: type: boolean default: false + jobs: build-win64: name: Build win64 @@ -101,9 +102,11 @@ jobs: - name: Finalize cache run: | cd build + ccache -d win64-cross/ccache --show-stats --verbose ccache -d win64-cross/ccache --max-size 150M ccache -d win64-cross/ccache --cleanup - ccache -d win64-cross/ccache --show-stats --verbose + ccache -d win64-cross/ccache --max-size 500M + ccache -d win64-cross/ccache --zero-stats - name: Save ccache if: inputs.platform-files && !inputs.cache-readonly uses: actions/cache/save@v3