Update caches

This commit is contained in:
Andrea Cavalli 2022-05-04 18:48:07 +02:00
parent e48f278d4f
commit 85cdd1e39f

View File

@ -81,33 +81,33 @@ jobs:
uses: actions/cache@v2 uses: actions/cache@v2
with: with:
path: /tmp/.buildx-cache path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-cache-${{ env.SAFE_ARCH }}-${{ github.sha }} key: ${{ runner.os }}-v2-buildx-cache-${{ env.SAFE_ARCH }}-${{ github.sha }}
restore-keys: | restore-keys: |
${{ runner.os }}-buildx-cache-${{ env.SAFE_ARCH }}- ${{ runner.os }}-v2-buildx-cache-${{ env.SAFE_ARCH }}-
- name: Cache Maven - name: Cache Maven
uses: actions/cache@v2 uses: actions/cache@v2
with: with:
path: ~/.m2/repository path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ env.SAFE_ARCH }}-${{ hashFiles('**/pom.xml') }} key: ${{ runner.os }}-v2-maven-${{ env.SAFE_ARCH }}-${{ hashFiles('**/pom.xml') }}
restore-keys: | restore-keys: |
${{ runner.os }}-maven-${{ env.SAFE_ARCH }}- ${{ runner.os }}-v2-maven-${{ env.SAFE_ARCH }}-
- name: Cache packages cache - name: Cache packages cache
uses: actions/cache@v2 uses: actions/cache@v2
with: with:
path: ~/tdlight-java-natives/tdlight-java-natives/.cache path: ~/tdlight-java-natives/tdlight-java-natives/.cache
key: ${{ runner.os }}-packages-${{ env.SAFE_ARCH }}-${{ github.sha }} key: ${{ runner.os }}-v2-packages-${{ env.SAFE_ARCH }}-${{ github.sha }}
restore-keys: | restore-keys: |
${{ runner.os }}-packages-${{ env.SAFE_ARCH }}- ${{ runner.os }}-v2-packages-${{ env.SAFE_ARCH }}-
- name: Cache ccache - name: Cache ccache
uses: actions/cache@v2 uses: actions/cache@v2
with: with:
path: ~/.ccache path: ~/.ccache
key: ${{ runner.os }}-ccache-${{ env.SAFE_ARCH }}-${{ github.sha }} key: ${{ runner.os }}-v2-ccache-${{ env.SAFE_ARCH }}-${{ github.sha }}
restore-keys: | restore-keys: |
${{ runner.os }}-ccache-${{ env.SAFE_ARCH }}- ${{ runner.os }}-v2-ccache-${{ env.SAFE_ARCH }}-
- name: Build image - name: Build image
if: matrix.usedocker == 'true' if: matrix.usedocker == 'true'