From efc809d166ae7f33e472b531e6f0f68a11e0bc0f Mon Sep 17 00:00:00 2001 From: Andrea Cavalli Date: Sun, 26 Sep 2021 19:33:47 +0200 Subject: [PATCH] Fix caching --- .github/workflows/platform_natives.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/platform_natives.yaml b/.github/workflows/platform_natives.yaml index 236fdb1..b4a9850 100644 --- a/.github/workflows/platform_natives.yaml +++ b/.github/workflows/platform_natives.yaml @@ -80,10 +80,14 @@ jobs: if: matrix.usedocker == 'true' uses: actions/cache@v2 with: - path: /tmp/.buildx-cache - key: ${{ runner.os }}-buildx-${{ env.SAFE_ARCH }}-${{ github.sha }} + path: | + /tmp/.buildx-cache + ~/.cache + ~/.ccache + ~/tdlight-java-natives/tdlight-java-natives/.cache + key: ${{ runner.os }}-buildx-cache-${{ env.SAFE_ARCH }}-${{ github.sha }} restore-keys: | - ${{ runner.os }}-buildx-${{ env.SAFE_ARCH }}- + ${{ runner.os }}-buildx-cache-${{ env.SAFE_ARCH }}- - name: Build image if: matrix.usedocker == 'true'