Fix caching

This commit is contained in:
Andrea Cavalli 2021-09-26 19:33:47 +02:00
parent d44b37f03f
commit efc809d166
1 changed files with 7 additions and 3 deletions

View File

@ -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'