Fix caching

This commit is contained in:
Andrea Cavalli 2021-09-26 19:33:47 +02:00
parent d44b37f03f
commit efc809d166

View File

@ -80,10 +80,14 @@ jobs:
if: matrix.usedocker == 'true' if: matrix.usedocker == 'true'
uses: actions/cache@v2 uses: actions/cache@v2
with: with:
path: /tmp/.buildx-cache path: |
key: ${{ runner.os }}-buildx-${{ env.SAFE_ARCH }}-${{ github.sha }} /tmp/.buildx-cache
~/.cache
~/.ccache
~/tdlight-java-natives/tdlight-java-natives/.cache
key: ${{ runner.os }}-buildx-cache-${{ env.SAFE_ARCH }}-${{ github.sha }}
restore-keys: | restore-keys: |
${{ runner.os }}-buildx-${{ env.SAFE_ARCH }}- ${{ runner.os }}-buildx-cache-${{ env.SAFE_ARCH }}-
- name: Build image - name: Build image
if: matrix.usedocker == 'true' if: matrix.usedocker == 'true'